OSDN Git Service

2004-06-06 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Mon, 7 Jun 2004 02:08:07 +0000 (02:08 +0000)
committerRandolph Chung <tausq@debian.org>
Mon, 7 Jun 2004 02:08:07 +0000 (02:08 +0000)
commite1e72c05cef963017fb6a96b480530e44e37ff1d
treef367e2da7ee1c5addd55a710a1bdabea9ceb9765
parentfc3295b31c21497278bc174312e13df8ae5bab5f
2004-06-06  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
gdb/ChangeLog
gdb/Makefile.in
gdb/hppa-linux-tdep.c
gdb/hppa-tdep.c
gdb/hppa-tdep.h