Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Robert Millan <zeratul2@wanadoo.es>
To: gdb-patches@sources.redhat.com
Cc: glibc-bsd-hackers@nongnu.org
Subject: [PATCH] GNU/k*BSD fixes (w/ChangeLog) [gdb]
Date: Sun, 28 Dec 2003 23:14:00 -0000	[thread overview]
Message-ID: <20031228230941.GA1091@aragorn> (raw)

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]


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)

[-- Attachment #2: gdb.diff --]
[-- Type: text/plain, Size: 1632 bytes --]

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 ;;

             reply	other threads:[~2003-12-28 23:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-28 23:14 Robert Millan [this message]
2004-01-11 19:27 ` Andrew Cagney
2004-01-11 19:45   ` Robert Millan
2004-01-24 19:24     ` Robert Millan
2004-01-27  4:08     ` Andrew Cagney
2004-01-27 19:22       ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031228230941.GA1091@aragorn \
    --to=zeratul2@wanadoo.es \
    --cc=gdb-patches@sources.redhat.com \
    --cc=glibc-bsd-hackers@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox