This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb: extend Linux osabi match


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]