summaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-25 11:46:45 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-25 11:46:45 +0000
commita7ae6601e5289f5c691baad95ad86b733b4516fb (patch)
treecc301b7ccb0be26929e9454ddf8a4d870c0d1f80 /gdb/sparc-tdep.h
parent58fb2b8f6040b800b09c25a37f38ebc75a8e3485 (diff)
downloadgdb-a7ae6601e5289f5c691baad95ad86b733b4516fb.tar.gz
* sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New function with code split out from sparc32nbsd_sigcontext_frame_cache. (sparc32nbsd_sigcontext_frame_cache): Use sparc32nbsd_sigcontext_saved_regs. (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for OpenBSD. * sparcobsd-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. (sparcobsd-tdep.o): New dependency. * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. * config/sparc/obsd.mt: New file.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r--gdb/sparc-tdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h
index d8d05822ecb..00c41360df0 100644
--- a/gdb/sparc-tdep.h
+++ b/gdb/sparc-tdep.h
@@ -22,11 +22,11 @@
#ifndef SPARC_TDEP_H
#define SPARC_TDEP_H 1
+struct frame_info;
struct gdbarch;
struct regcache;
struct regset;
struct trad_frame_saved_reg;
-struct frame_info;
/* Register offsets for the general-purpose register set. */
@@ -195,4 +195,7 @@ extern void sparc32_sol2_init_abi (struct gdbarch_info info,
/* Register offsets for NetBSD. */
extern const struct sparc_gregset sparc32nbsd_gregset;
+extern struct trad_frame_saved_reg *
+ sparc32nbsd_sigcontext_saved_regs (struct frame_info *next_frame);
+
#endif /* sparc-tdep.h */