[PATCH] GNU/k*BSD fixes (w/ChangeLog) [gdb]

Robert Millan zeratul2@wanadoo.es
Sun Dec 28 23:14:00 GMT 2003


Hi!

Fixes for triplet detection of GNU/kNetBSD and GNU/kFreeBSD. Patch is
attached, ChangeLog as follows. Remember to update config.{guess,sub}
in the respective locations (src and src/readline/support). Thanks.

for ChangeLog:

2003-12-29  Robert Millan  <robertmh@gnu.org>

	* config.guess: Update.
	* config.sub: Likewise.

for gdb/ChangeLog:

2003-12-29  Robert Millan  <robertmh@gnu.org>

	* configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
	* configure.tgt: Likewise.

for readline/ChangeLog.gdb:

2003-12-29  Robert Millan  <robertmh@gnu.org>

        * support/config.guess: Update.
        * support/config.sub: Likewise.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)
-------------- next part --------------
ChangeLog:

2003-12-29  Robert Millan  <robertmh@gnu.org>

	* config.guess: Update.
	* config.sub: Likewise.

gdb/ChangeLog:

2003-12-29  Robert Millan  <robertmh@gnu.org>

	* configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
	* configure.tgt: Likewise.

readline/ChangeLog.gdb:

2003-12-29  Robert Millan  <robertmh@gnu.org>

        * support/config.guess: Update.
        * support/config.sub: Likewise.

diff -ur src.old/gdb/configure.host src/gdb/configure.host
--- src.old/gdb/configure.host	2003-12-01 22:10:46.000000000 +0100
+++ src/gdb/configure.host	2003-12-28 23:54:20.000000000 +0100
@@ -50,8 +50,8 @@
 i[34567]86-ncr-*)	gdb_host=ncr3000 ;;
 i[34567]86-*-bsd*)	gdb_host=i386bsd ;;
 i[34567]86-*-dgux*)	gdb_host=i386v4 ;;
-i[34567]86-*-freebsd*)	gdb_host=fbsd ;;
-i[34567]86-*-netbsdelf*)	gdb_host=nbsdelf ;;
+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-*-netbsdaout*) gdb_host=nbsdaout ;;
 i[34567]86-*-netbsd*)	gdb_host=nbsdaout ;;
 i[34567]86-*-go32*)	gdb_host=go32 ;;
diff -ur src.old/gdb/configure.tgt src/gdb/configure.tgt
--- src.old/gdb/configure.tgt	2003-12-01 22:10:46.000000000 +0100
+++ src/gdb/configure.tgt	2003-12-28 23:54:20.000000000 +0100
@@ -78,7 +78,7 @@
 
 i[34567]86-ncr-*)	gdb_target=ncr3000 ;;
 i[34567]86-*-bsd*)	gdb_target=i386bsd ;;
-i[34567]86-*-netbsd*)	gdb_target=nbsd ;;
+i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)	gdb_target=nbsd ;;
 i[34567]86-*-openbsd*)	gdb_target=obsd ;;
 i[34567]86-*-go32*)	gdb_target=i386aout ;;
 i[34567]86-*-msdosdjgpp*) gdb_target=go32 ;;


More information about the Gdb-patches mailing list