public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb: extend Linux osabi match
@ 2010-12-30 21:09 Mike Frysinger
  2010-12-30 23:07 ` Mark Kettenis
  2011-01-13 10:40 ` [PATCH v2] " Mike Frysinger
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Frysinger @ 2010-12-30 21:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: toolchain-devel

The current osabi default matching misses all *-uclinux tuples.  So extend
the glob to cover all possible linux tuples.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2010-12-15  Mike Frysinger  <vapier@gentoo.org>

	* configure.tgt (*-*-*linux*): Match all Linux os targets.
---
 gdb/configure.tgt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 140dbd7..d93e6b3 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -630,7 +630,7 @@ esac
 
 case "${targ}" in
 *-*-freebsd*)	gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
-*-*-linux*)	gdb_osabi=GDB_OSABI_LINUX ;;
+*-*-*linux*)	gdb_osabi=GDB_OSABI_LINUX ;;
 *-*-nto*)	gdb_osabi=GDB_OSABI_QNXNTO ;;
 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
 *-*-openbsd*)	gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gdb: extend Linux osabi match
  2010-12-30 21:09 [PATCH] gdb: extend Linux osabi match Mike Frysinger
@ 2010-12-30 23:07 ` Mark Kettenis
  2011-01-06 21:34   ` [toolchain-devel] " Mike Frysinger
  2011-01-13 10:40 ` [PATCH v2] " Mike Frysinger
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Kettenis @ 2010-12-30 23:07 UTC (permalink / raw)
  To: vapier; +Cc: gdb-patches, toolchain-devel

> From: Mike Frysinger <vapier@gentoo.org>
> Date: Thu, 30 Dec 2010 16:02:29 -0500
> 
> The current osabi default matching misses all *-uclinux tuples.  So extend
> the glob to cover all possible linux tuples.

Probably safer to explicitly match -*-*-uclinux*; doesn't look like
config.guess/config.sub has any other linux tuples.

> 2010-12-15  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* configure.tgt (*-*-*linux*): Match all Linux os targets.
> ---
>  gdb/configure.tgt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/gdb/configure.tgt b/gdb/configure.tgt
> index 140dbd7..d93e6b3 100644
> --- a/gdb/configure.tgt
> +++ b/gdb/configure.tgt
> @@ -630,7 +630,7 @@ esac
>  
>  case "${targ}" in
>  *-*-freebsd*)	gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
> -*-*-linux*)	gdb_osabi=GDB_OSABI_LINUX ;;
> +*-*-*linux*)	gdb_osabi=GDB_OSABI_LINUX ;;
>  *-*-nto*)	gdb_osabi=GDB_OSABI_QNXNTO ;;
>  m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
>  *-*-openbsd*)	gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
> -- 
> 1.7.3.1
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [toolchain-devel] [PATCH] gdb: extend Linux osabi match
  2010-12-30 23:07 ` Mark Kettenis
@ 2011-01-06 21:34   ` Mike Frysinger
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2011-01-06 21:34 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: toolchain-devel, gdb-patches

On Thu, Dec 30, 2010 at 16:24, Mark Kettenis wrote:
>Mike Frysinger wrote:
>> The current osabi default matching misses all *-uclinux tuples.  So extend
>> the glob to cover all possible linux tuples.
>
> Probably safer to explicitly match -*-*-uclinux*; doesn't look like
> config.guess/config.sub has any other linux tuples.

obviously i personally prefer the patch i posted, but if this isnt
going to be accepted, i can send a new one that just adds the uclinux
tuple.
-mike

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] gdb: extend Linux osabi match
  2010-12-30 21:09 [PATCH] gdb: extend Linux osabi match Mike Frysinger
  2010-12-30 23:07 ` Mark Kettenis
@ 2011-01-13 10:40 ` Mike Frysinger
  2011-01-14 16:45   ` Joel Brobecker
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2011-01-13 10:40 UTC (permalink / raw)
  To: gdb-patches; +Cc: toolchain-devel

The current osabi default matching misses all *-uclinux tuples.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2010-12-15  Mike Frysinger  <vapier@gentoo.org>

	* configure.tgt (*-*-uclinux*): Match more Linux os targets.
---
 gdb/configure.tgt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index f2937d8..e45c301 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -631,7 +631,8 @@ esac
 case "${targ}" in
 *-*-freebsd* | *-*-kfreebsd*-gnu)
 		gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
-*-*-linux*)	gdb_osabi=GDB_OSABI_LINUX ;;
+*-*-linux* | *-*-uclinux*)
+		gdb_osabi=GDB_OSABI_LINUX ;;
 *-*-nto*)	gdb_osabi=GDB_OSABI_QNXNTO ;;
 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
 *-*-openbsd*)	gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] gdb: extend Linux osabi match
  2011-01-13 10:40 ` [PATCH v2] " Mike Frysinger
@ 2011-01-14 16:45   ` Joel Brobecker
  2011-01-14 18:31     ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2011-01-14 16:45 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: gdb-patches, toolchain-devel

> 2010-12-15  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* configure.tgt (*-*-uclinux*): Match more Linux os targets.

Looks good, please go ahead.

-- 
Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] gdb: extend Linux osabi match
  2011-01-14 16:45   ` Joel Brobecker
@ 2011-01-14 18:31     ` Mike Frysinger
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2011-01-14 18:31 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: toolchain-devel, gdb-patches

On Fri, Jan 14, 2011 at 11:32, Joel Brobecker wrote:
>> 2010-12-15  Mike Frysinger  <vapier@gentoo.org>
>>
>>       * configure.tgt (*-*-uclinux*): Match more Linux os targets.
>
> Looks good, please go ahead.

thanks ... committed
-mike

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-14 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-30 21:09 [PATCH] gdb: extend Linux osabi match Mike Frysinger
2010-12-30 23:07 ` Mark Kettenis
2011-01-06 21:34   ` [toolchain-devel] " Mike Frysinger
2011-01-13 10:40 ` [PATCH v2] " Mike Frysinger
2011-01-14 16:45   ` Joel Brobecker
2011-01-14 18:31     ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).