aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2004-03-15 19:42:25 +0000
committerKevin Buettner <kevinb@redhat.com>2004-03-15 19:42:25 +0000
commit5ecb7103b5a8ba2208afe56b7ce17fd57090285a (patch)
treee2d12190f93108419cc5c152fe1a38276b71c312 /gdb/frv-tdep.h
parent2dc111b3c120d1aef67a5d5e4542dbef00a5f798 (diff)
downloadgdb-5ecb7103b5a8ba2208afe56b7ce17fd57090285a.zip
gdb-5ecb7103b5a8ba2208afe56b7ce17fd57090285a.tar.gz
gdb-5ecb7103b5a8ba2208afe56b7ce17fd57090285a.tar.bz2
* Makefile.in (frv-linux-tdep.o): Add dependencies.
* frv-linux-tdep.c: New file. * frv-tdep.c (struct gdbarch_tdep): Add new field ``sigcontext_reg_addr''. (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) (frv_sigramp_frame_sniffer): New functions. (frv_sigtramp_frame_unwind): New static global. (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame sniffers. * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
Diffstat (limited to 'gdb/frv-tdep.h')
-rw-r--r--gdb/frv-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h
index e33fb11..5b9b88b 100644
--- a/gdb/frv-tdep.h
+++ b/gdb/frv-tdep.h
@@ -84,6 +84,11 @@ enum {
/* Return the FR-V ABI associated with GDBARCH. */
enum frv_abi frv_abi (struct gdbarch *gdbarch);
+/* Associate a sigcontext address fetcher with GDBARCH. */
+void frv_set_sigcontext_reg_addr (struct gdbarch *gdbarch,
+ CORE_ADDR (*sigcontext_reg_addr)
+ (struct frame_info *, int, CORE_ADDR *));
+
/* Fetch the interpreter and executable loadmap addresses (for shared
library support) for the FDPIC ABI. Return 0 if successful, -1 if
not. (E.g, -1 will be returned if the ABI isn't the FDPIC ABI.) */