2004-04-17 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Sat, 17 Apr 2004 17:41:10 +0000 (17:41 +0000)
committerRandolph Chung <tausq@debian.org>
Sat, 17 Apr 2004 17:41:10 +0000 (17:41 +0000)
commitfdd72f950f09a3f553525cc54af622eb533d13d2
treeffe0c54218af2e4039c2c0968e6d3d4166615218
parent0f8d9d59e8dd52999d4ef9f4c9089df4180c2d4f
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/hppa-hpux-tdep.c
gdb/hppa-tdep.c
gdb/hppa-tdep.h