aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
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/configure.tgt
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/configure.tgt')
-rw-r--r--gdb/configure.tgt4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index d57018b..23863e5 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -191,7 +191,9 @@ sparc64-*-linux*) gdb_target=linux64 ;;
sparc-*-netbsd*) gdb_target=nbsd ;;
sparc64-*-netbsd*) gdb_target=nbsd64 ;;
sparc-*-openbsd*) gdb_target=nbsd ;;
-sparc64-*-openbsd*) gdb_target=nbsd64 ;;
+sparc64-*-openbsd*) gdb_target=obsd64
+ gdb_osabi=GDB_OSABI_OPENBSD_ELF
+ ;;
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
gdb_target=sol2
;;