aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-02-18 16:11:21 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-02-18 16:11:21 +0000
commite38c262f357690271e9fa3a5d94909d17ee80865 (patch)
treeb0db0098db708a73e1db074c44c9867a71078264 /gdb/hppa-tdep.h
parentb34c1498c29a6ed60de6ad8159dc6cc424066157 (diff)
downloadgdb-e38c262f357690271e9fa3a5d94909d17ee80865.zip
gdb-e38c262f357690271e9fa3a5d94909d17ee80865.tar.gz
gdb-e38c262f357690271e9fa3a5d94909d17ee80865.tar.bz2
* hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace current_gdbarch by gdbarch. (hppa64_hpux_find_global_pointer): Likewise. * hppa-tdep.c (hppa_find_global_pointer): Likewise. (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for find_global_pointer. * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as parameter. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead of gdbarch_num_regs. * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 8a0bc97..1723770 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -87,7 +87,7 @@ struct gdbarch_tdep
/* Given a function address, try to find the global pointer for the
corresponding shared object. */
- CORE_ADDR (*find_global_pointer) (struct value *);
+ CORE_ADDR (*find_global_pointer) (struct gdbarch *, struct value *);
/* For shared libraries, each call goes through a small piece of
trampoline code in the ".plt", or equivalent, section.