aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-08-12 22:29:56 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-08-12 22:29:56 +0000
commit69489883aab580c58fdc4084d45eb4363f02bb03 (patch)
treeac7222683f64549c4b1bd1612bbbf63b95fdeb52 /gdb
parentebb7c577dee93467a38e26d8da274a24166c3d48 (diff)
downloadgdb-69489883aab580c58fdc4084d45eb4363f02bb03.zip
gdb-69489883aab580c58fdc4084d45eb4363f02bb03.tar.gz
gdb-69489883aab580c58fdc4084d45eb4363f02bb03.tar.bz2
2004-08-09 Robert Millan <robertmh@gnu.org>
Committed by Nathanael Nerode. * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu. * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/configure.host40
-rw-r--r--gdb/configure.tgt39
3 files changed, 58 insertions, 27 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f7955b..0ae4a4e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-09 Robert Millan <robertmh@gnu.org>
+
+ Committed by Nathanael Nerode.
+ * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
+ * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
+
2004-08-12 Andrew Cagney <cagney@gnu.org>
* NEWS: Mention fixes in GDB 6.2.1.
diff --git a/gdb/configure.host b/gdb/configure.host
index fbd6285..3ecac86 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -39,12 +39,15 @@ alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
alpha*-*-linux*) gdb_host=alpha-linux ;;
-alpha*-*-freebsd*) gdb_host=fbsd ;;
-alpha*-*-netbsd*) gdb_host=nbsd ;;
+alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
+ gdb_host=fbsd ;;
+alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
+ gdb_host=nbsd ;;
alpha*-*-openbsd*) gdb_host=nbsd ;;
arm*-*-linux*) gdb_host=linux ;;
-arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
+arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu)
+ gdb_host=nbsdelf ;;
arm*-*-netbsd*) gdb_host=nbsdaout ;;
hppa*-*-hiux*) gdb_host=hppahpux ;;
@@ -61,7 +64,6 @@ i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
gdb_host=fbsd ;;
i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
-i[34567]86-*-freebsd*) gdb_host=fbsd ;;
i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
i[34567]86-*-go32*) gdb_host=go32 ;;
i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
@@ -89,7 +91,8 @@ ia64-*-aix*) gdb_host=aix ;;
ia64-*-linux*) gdb_host=linux ;;
m68*-*-linux*) gdb_host=linux ;;
-m68*-*-netbsdelf*) gdb_host=nbsdelf ;;
+m68*-*-netbsdelf* | m68*-*-knetbsd*-gnu)
+ gdb_host=nbsdelf ;;
m68*-*-netbsd*) gdb_host=nbsdaout ;;
m68*-*-openbsd*) gdb_host=obsd ;;
@@ -98,7 +101,8 @@ m88*-*-openbsd*) gdb_host=obsd ;;
mips-sgi-irix5*) gdb_host=irix5 ;;
mips-sgi-irix6*) gdb_host=irix6 ;;
mips*-*-linux*) gdb_host=linux ;;
-mips*-*-netbsd*) gdb_host=nbsd ;;
+mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
+ gdb_host=nbsd ;;
ns32k-*-netbsd*) gdb_host=nbsdaout ;;
@@ -107,7 +111,8 @@ powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
powerpc-*-aix*) gdb_host=aix432 ;;
powerpc-*-linux*) gdb_host=linux ;;
-powerpc-*-netbsd*) gdb_host=nbsd ;;
+powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
+ gdb_host=nbsd ;;
powerpc-*-openbsd*) gdb_host=obsd ;;
powerpc64-*-linux*) gdb_host=ppc64-linux ;;
@@ -118,15 +123,19 @@ rs6000-*-*) gdb_host=rs6000 ;;
s390*-*-*) gdb_host=s390 ;;
-sh*-*-netbsdelf*) gdb_host=nbsd ;;
+sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
+ gdb_host=nbsd ;;
-sparc64-*-freebsd*) gdb_host=fbsd ;;
+sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu)
+ gdb_host=fbsd ;;
sparc-*-linux*) gdb_host=linux ;;
sparc64-*-linux*) gdb_host=linux64 ;;
-sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
+sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu)
+ gdb_host=nbsdelf ;;
sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
sparc-*-netbsd*) gdb_host=nbsdaout ;;
-sparc64-*-netbsd*) gdb_host=nbsd64 ;;
+sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
+ gdb_host=nbsd64 ;;
sparc-*-openbsd*) gdb_host=nbsdelf ;;
sparc64-*-openbsd*) gdb_host=nbsd64 ;;
sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
@@ -134,14 +143,17 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
;;
vax-*-bsd*) gdb_host=vax ;;
-vax-*-netbsdelf*) gdb_host=nbsdelf ;;
+vax-*-netbsdelf* | vax-*-knetbsd*-gnu)
+ gdb_host=nbsdelf ;;
vax-*-netbsd*) gdb_host=nbsdaout ;;
vax-*-openbsd*) gdb_host=obsd ;;
vax-*-ultrix*) gdb_host=vax ;;
x86_64-*-linux*) gdb_host=linux64 ;;
-x86_64-*-freebsd*) gdb_host=fbsd64 ;;
-x86_64-*-netbsd*) gdb_host=nbsd64 ;;
+x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
+ gdb_host=fbsd64 ;;
+x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
+ gdb_host=nbsd64 ;;
x86_64-*-openbsd*) gdb_host=obsd64 ;;
m32r*-*-linux*) gdb_host=linux ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index b9552d1..a7c14d8 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -38,12 +38,15 @@ esac
case "${target}" in
-x86_64-*-freebsd*) gdb_target=fbsd64 ;;
-*-*-freebsd*) gdb_target=fbsd ;;
+x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
+ gdb_target=fbsd64 ;;
+*-*-freebsd* | *-*-kfreebsd*-gnu)
+ gdb_target=fbsd ;;
alpha*-*-osf*) gdb_target=alpha-osf1 ;;
alpha*-*-linux*) gdb_target=alpha-linux ;;
-alpha*-*-netbsd*) gdb_target=nbsd ;;
+alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
alpha*-*-openbsd*) gdb_target=nbsd ;;
alpha*-*-*) gdb_target=alpha ;;
@@ -51,7 +54,8 @@ arm*-wince-pe) gdb_target=wince ;;
arm*-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
-arm*-*-netbsd*) gdb_target=nbsd ;;
+arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
arm-*-nto*) gdb_target=nto ;;
arm*-*-* | thumb*-*-* | strongarm*-*-*)
gdb_target=embed
@@ -115,7 +119,8 @@ m68*-*-elf*) gdb_target=monitor ;;
m68*-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
-m68*-*-netbsd*) gdb_target=nbsd ;;
+m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
m68*-*-openbsd*) gdb_target=obsd ;;
m68*-*-os68k*) gdb_target=os68k ;;
m68*-*-uclinux*) gdb_target=monitor ;;
@@ -131,7 +136,8 @@ mips*-sgi-irix6*) gdb_target=irix6 ;;
mips*-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
-mips*-*-netbsd*) gdb_target=nbsd ;;
+mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
mips*-*-vxworks*) gdb_target=vxmips ;;
mips*-*-*) gdb_target=embed ;;
@@ -139,7 +145,8 @@ mn10300-*-*) gdb_target=mn10300 ;;
ns32k-*-netbsd*) gdb_target=nbsdaout ;;
-powerpc-*-netbsd*) gdb_target=nbsd ;;
+powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
powerpc-*-openbsd*) gdb_target=obsd ;;
powerpc-*-aix*) gdb_target=aix ;;
powerpc-*-linux*) gdb_target=linux
@@ -168,14 +175,17 @@ sh-*-elf*) gdb_target=embed ;;
sh-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
-sh*-*-netbsdelf*) gdb_target=nbsd ;;
+sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
sh-*-nto*) gdb_target=nto ;;
sh*) gdb_target=embed ;;
sparc-*-linux*) gdb_target=linux ;;
sparc64-*-linux*) gdb_target=linux64 ;;
-sparc-*-netbsd*) gdb_target=nbsd ;;
-sparc64-*-netbsd*) gdb_target=nbsd64 ;;
+sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
+sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
+ gdb_target=nbsd64 ;;
sparc-*-openbsd*) gdb_target=obsd ;;
sparc64-*-openbsd*) gdb_target=obsd64
gdb_osabi=GDB_OSABI_OPENBSD_ELF
@@ -192,7 +202,8 @@ sparc64-*-*) gdb_target=sparc64 ;;
xstormy16-*-*) gdb_target=xstormy16 ;;
-vax-*-netbsd*) gdb_target=nbsd ;;
+vax-*-netbsd* | vax-*-knetbsd*-gnu)
+ gdb_target=nbsd ;;
vax-*-openbsd*) gdb_target=nbsd ;;
vax-*-*) gdb_target=vax ;;
@@ -207,7 +218,8 @@ v850*-*-*) gdb_target=v850
x86_64-*-linux*) gdb_target=linux64
build_gdbserver=yes
;;
-x86_64-*-netbsd*) gdb_target=nbsd64 ;;
+x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
+ gdb_target=nbsd64 ;;
x86_64-*-openbsd*) gdb_target=obsd64
gdb_osabi=GDB_OSABI_OPENBSD_ELF
;;
@@ -218,7 +230,8 @@ esac
case "${target}" in
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
-*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
+*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
+*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
esac