2004-04-17 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Sat, 17 Apr 2004 17:19:29 +0000 (17:19 +0000)
committerRandolph Chung <tausq@debian.org>
Sat, 17 Apr 2004 17:19:29 +0000 (17:19 +0000)
commit7c46b9fb41fd107882032ecc34897a8e86e8264a
tree452418ea2949ab44c2dcf70fd16426319fae4c52
parent8d153463b57c4f70a61e0c421b715de8e591acd3
2004-04-17  Randolph Chung  <tausq@debian.org>

* Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
* hppa-tdep.c (hppa_objfile_priv_data): New.
(SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Use
HPPA_INSTRUCTION_SIZE.
(read_unwind_info): Use objfile_data to reference unwind info.
(find_unwind_entry): Likewise.
(hpread_adjust_stack_address): Move to hpread.c.
(_initialize_hppa_tdep): Register hppa objfile data.
* hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Define.
(unwind_table_entry, unwind_stub_types): Move from tm-hppa.h.
(obj_unwind_info, obj_private_struct): Move from tm-hppa.h, and rename
with hppa_ prefix.
* hpread.c (hppa-tdep.h): Include.
(hpread_adjust_stack_address): Move from hppa-tdep.c.
(hpread_read_function_type, hpread_read_doc_function_type)
(hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
directly. Use objfile_data to access solib data.
* pa64solib.c (hppa-tdep.h): Include.
(pa64_solib_add_solib_objfile): Use objfile_data to access solib data.
* somsolib.c (hppa-tdep.h): Include.
(som_solib_add_solib_objfile): Use objfile_data to access solib data.
* config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type)
(inferior_status): Remove unused forward declarations.
(INSTRUCTION_SIZE): Move to hppa-tdep.c.
(unwind_table_entry, unwind_stub_types, obj_unwind_info)
(obj_private_struct): Move to hppa-tdep.h.
(HPREAD_ADJUST_STACK_ADDRESS): Remove.
gdb/ChangeLog
gdb/Makefile.in
gdb/config/pa/tm-hppa.h
gdb/hppa-tdep.c
gdb/hppa-tdep.h
gdb/hpread.c
gdb/pa64solib.c
gdb/somsolib.c