aboutsummaryrefslogtreecommitdiff
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
commit566626fa4d304dee56adbefb82edc25d94c0dfa9 (patch)
tree5549d29a700619e690e30cd78dd2daea22bf2bd6 /gdb/sparc-tdep.h
parentf0f207fd1d908a09ce535fe459234bbdcdb10ffd (diff)
downloadgdb-566626fa4d304dee56adbefb82edc25d94c0dfa9.zip
gdb-566626fa4d304dee56adbefb82edc25d94c0dfa9.tar.gz
gdb-566626fa4d304dee56adbefb82edc25d94c0dfa9.tar.bz2
* 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 d8d0582..00c4136 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 */