diff options
author | Randolph Chung <tausq@debian.org> | 2004-04-17 17:41:10 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-04-17 17:41:10 +0000 |
commit | e0509cacc57957a3947f7b4712d7c664e6e46577 (patch) | |
tree | e2572fb2326898ba194cba30cb8bb2ac098642f3 /gdb/hppa-tdep.h | |
parent | d5240cba0a5361345ea0a4c597c58ef9b749e46a (diff) | |
download | gdb-e0509cacc57957a3947f7b4712d7c664e6e46577.tar.gz |
2004-04-17 Randolph Chung <tausq@debian.org>
* Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
* hppa-hpux-tdep.c (hppa-tdep.h): Include.
(hppa_hpux_som_init_abi): Set is_elf to 0.
(hppa_hpux_elf_init_abi): Set is_elf to 1.
* hppa-tdep.c (low_text_segment_address): Remove global.
(record_text_segment_lowaddr): Pass in low address as parameter. Use
section offset to calculate segment address.
(internalize_unwinds): Define low_text_segment_address as local and
pass to record_text_segment_lowaddr for ELF targets.
(hppa_gdbarch_init): Zero fill tdep structure.
(hppa_dump_tdep): Print tdep structure.
* hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r-- | gdb/hppa-tdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index f41af2d957b..80742f0f648 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -29,6 +29,10 @@ struct gdbarch_tdep /* The number of bytes in an address. For now, this field is designed to allow us to differentiate hppa32 from hppa64 targets. */ int bytes_per_address; + + /* Is this an ELF target? This can be 64-bit HP-UX, or a 32/64-bit GNU/Linux + system. */ + int is_elf; }; /* |