aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-24 22:18:22 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-24 22:18:22 +0000
commit1e067c66c867575bae58872ec9822ce2812250b1 (patch)
tree582b14466a9608ac59003cabd155e6688e0c0236 /gdb/sparc64-tdep.h
parent94b8e87660af2e95f13cb24b5b7949c7dde6bd3c (diff)
downloadgdb-1e067c66c867575bae58872ec9822ce2812250b1.zip
gdb-1e067c66c867575bae58872ec9822ce2812250b1.tar.gz
gdb-1e067c66c867575bae58872ec9822ce2812250b1.tar.bz2
* sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg):
Add opaque declarations. (sparc64nbsd_sigcontext_saved_regs): New prototype. * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New function with code split out from sparc64nbsd_sigcontext_frame_cache. (sparc64nbsd_sigcontext_frame_cache): Use sparc64nbsd_sigcontext_saved_regs. (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for OpenBSD. * sparc64obsd-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. (sparc64obsd-tdep.o): New dependency. * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and gdb_osabi to GDB_OSABI_OPENBSD_ELF. * config/sparc/obsd64.mt: New file.
Diffstat (limited to 'gdb/sparc64-tdep.h')
-rw-r--r--gdb/sparc64-tdep.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/sparc64-tdep.h b/gdb/sparc64-tdep.h
index f5ab60d..c3073b9 100644
--- a/gdb/sparc64-tdep.h
+++ b/gdb/sparc64-tdep.h
@@ -22,9 +22,11 @@
#ifndef SPARC64_TDEP_H
#define SPARC64_TDEP_H 1
+struct frame_info;
struct gdbarch;
-struct sparc_gregset;
struct regcache;
+struct sparc_gregset;
+struct trad_frame_saved_reg;
#include "sparc-tdep.h"
@@ -109,9 +111,13 @@ extern void sparc64_sol2_init_abi (struct gdbarch_info info,
/* Register offsets for FreeBSD/sparc64. */
extern const struct sparc_gregset sparc64fbsd_gregset;
-/* Variables exported from sparc64nbsd-tdep.c. */
+/* Functions and variables exported from sparc64nbsd-tdep.c. */
/* Register offsets for NetBSD/sparc64. */
extern const struct sparc_gregset sparc64nbsd_gregset;
+extern struct trad_frame_saved_reg *
+ sparc64nbsd_sigcontext_saved_regs (CORE_ADDR sigcontext_addr,
+ struct frame_info *next_frame);
+
#endif /* sparc64-tdep.h */