This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2] gdb: extend Linux osabi match
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: toolchain-devel at blackfin dot uclinux dot org
- Date: Thu, 13 Jan 2011 00:13:53 -0500
- Subject: [PATCH v2] gdb: extend Linux osabi match
- References: <1293742949-10518-1-git-send-email-vapier@gentoo.org>
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