diff options
author | Randolph Chung <tausq@debian.org> | 2004-06-07 02:08:07 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-06-07 02:08:07 +0000 |
commit | d49771efb59f489ecc7ece815583f57ffebbb523 (patch) | |
tree | 965a6fab6595c6c1bbd711a633a1d2cea0a39703 /gdb/ChangeLog | |
parent | 7d9b040b53ba0e94d46774491ec01dd919af6587 (diff) | |
download | gdb-d49771efb59f489ecc7ece815583f57ffebbb523.zip gdb-d49771efb59f489ecc7ece815583f57ffebbb523.tar.gz gdb-d49771efb59f489ecc7ece815583f57ffebbb523.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0924853..88f39da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,20 @@ 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. + +2004-06-06 Randolph Chung <tausq@debian.org> + * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument to struct value *function. * gdbarch.c: Regenerate. |