aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
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/configure.tgt
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/configure.tgt')
-rw-r--r--gdb/configure.tgt5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 23863e5..ef9484c 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -38,8 +38,7 @@ esac
case "${target}" in
x86_64-*-freebsd*) gdb_target=fbsd64 ;;
-*-*-freebsd*) gdb_target=fbsd
- ;;
+*-*-freebsd*) gdb_target=fbsd ;;
alpha*-*-osf*) gdb_target=alpha-osf1 ;;
alpha*-*-linux*) gdb_target=alpha-linux ;;
@@ -190,7 +189,7 @@ sparc-*-linux*) gdb_target=linux ;;
sparc64-*-linux*) gdb_target=linux64 ;;
sparc-*-netbsd*) gdb_target=nbsd ;;
sparc64-*-netbsd*) gdb_target=nbsd64 ;;
-sparc-*-openbsd*) gdb_target=nbsd ;;
+sparc-*-openbsd*) gdb_target=obsd ;;
sparc64-*-openbsd*) gdb_target=obsd64
gdb_osabi=GDB_OSABI_OPENBSD_ELF
;;