aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-12-17 07:42:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-12-17 07:42:48 +0000
commitff644745cdc10d5dd58cb49c9968f971f72f6263 (patch)
tree2d04593591363086cb23c23b9f71dc77191527f7 /gdb/hppa-tdep.h
parentbca22fde585d6cbd911f3e6e6300d389888ff228 (diff)
downloadgdb-ff644745cdc10d5dd58cb49c9968f971f72f6263.zip
gdb-ff644745cdc10d5dd58cb49c9968f971f72f6263.tar.gz
gdb-ff644745cdc10d5dd58cb49c9968f971f72f6263.tar.bz2
* hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function.
* hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Add declaration. * solib-som.c (som_solib_create_inferior_hook): Replace stub msymbol search by call to hppa_lookup_stub_minimal_symbol. This extends the search to all objfiles, not just shared libraries. Remove unused variable.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 548c21b..3153757 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -231,4 +231,8 @@ extern void hppa_write_pc (CORE_ADDR pc, ptid_t ptid);
extern CORE_ADDR hppa_unwind_pc (struct gdbarch *gdbarch,
struct frame_info *next_frame);
+extern struct minimal_symbol *
+ hppa_lookup_stub_minimal_symbol (const char *name,
+ enum unwind_stub_types stub_type);
+
#endif /* HPPA_TDEP_H */