summaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 21:09:28 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 21:09:28 +0000
commit77ce8a5e05a331b1b4ad876eda9b9f8762367f59 (patch)
tree11d4166e51504b1376a1ea213fbbf9587e031cfa /gdb/hppa-tdep.h
parent622f62b52ee5d9ad132576a98fffc3d691d6c3ce (diff)
downloadgdb-77ce8a5e05a331b1b4ad876eda9b9f8762367f59.tar.gz
2004-10-31 Andrew Cagney <cagney@gnu.org>
* hppa-tdep.c (hppa_stub_unwind_sniffer): Replace IN_SOLIB_CALL_TRAMPOLINE with tdep.in_solib_call_trampoline. * hppa-tdep.h (struct gdbarch_tdep): Add in_solib_call_trampoline. * hppa-hpux-tdep.c (hppa_hpux_init_abi): Set same. * hppa-linux-tdep.c (hppa_linux_init_abi): Ditto.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 26a7556a686..857b87433af 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -82,6 +82,12 @@ 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 *);
+
+ /* For shared libraries, each call goes through a small piece of
+ trampoline code in the ".plt", or equivalent, section.
+ IN_SOLIB_CALL_TRAMPOLINE evaluates to nonzero if we are currently
+ stopped in one of these. */
+ int (*in_solib_call_trampoline) (CORE_ADDR pc, char *name);
};
/*