aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-01-20 23:37:07 +0000
committerMark Kettenis <kettenis@gnu.org>2006-01-20 23:37:07 +0000
commit34f5501828c0afb929318a68822c1244a520ffcc (patch)
treeed6ac4e737167f1c945bce9c736a38eff8418b7f /gdb/hppa-tdep.h
parent80df1bbe0523fadcaa8f3e181296d42e54837690 (diff)
downloadgdb-34f5501828c0afb929318a68822c1244a520ffcc.zip
gdb-34f5501828c0afb929318a68822c1244a520ffcc.tar.gz
gdb-34f5501828c0afb929318a68822c1244a520ffcc.tar.bz2
* hppa-tdep.h (hppa_in_solib_call_trampoline)
(hppa_skip_trampoline_code): New prototypes. * hppa-tdep.c (struct insn_pattern): New. (hppa_long_branch_stub, hppa_long_branch_pic_stub) (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved here from hppa-linux-tdep.c (HPPA_MAX_INSN_PATTERN_LEN): New define. (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New functions based on functions removed from hppa-linux-tdep.c. * hppa-linux-tdep.c (hppa_long_branch_stub) (hppa_long_branch_pic_stub, hppa_import_stub) (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. (insns_match_pattern_relaxed, hppa_linux_in_dyncall) (hppa_linux_in_solib_call_trampoline) (hppa_linux_skip_trampoline_code): Removed. (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to hppa_in_solib_call_trampoline and skip_trampoline_code to hppa_skip_trampoline_code. * hppabsd-tdep.c (hppabsd_init_abi): Set TDEP->in_solib_call_trampoline and skip_trampoline_code.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index adaddae..4dbeaf5 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -1,6 +1,6 @@
/* Target-dependent code for the HP PA-RISC architecture.
- Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -250,4 +250,7 @@ extern struct minimal_symbol *
extern struct hppa_objfile_private *
hppa_init_objfile_priv_data (struct objfile *objfile);
-#endif /* HPPA_TDEP_H */
+extern int hppa_in_solib_call_trampoline (CORE_ADDR pc, char *name);
+extern CORE_ADDR hppa_skip_trampoline_code (CORE_ADDR pc);
+
+#endif /* hppa-tdep.h */