This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Partial fix for PR gdb/1922
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Tue, 26 Apr 2005 23:47:50 +0200 (CEST)
- Subject: [COMMIT] Partial fix for PR gdb/1922
This removes the unhelpful internal-error just like we did in the past
for other systems. I'm working on fixing this properly by making the
shared library stuff truly multi-arch. I'm also looking into the
suggestion made in the PR as an alternative to using /proc.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.tgt (*-*-freebsd*): Set gdb_osabi to
GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.162
diff -u -p -r1.162 configure.tgt
--- configure.tgt 15 Apr 2005 08:01:14 -0000 1.162
+++ configure.tgt 26 Apr 2005 21:44:41 -0000
@@ -210,6 +210,7 @@ esac
# map target onto default OS ABI
case "${target}" in
+*-*-freebsd*) gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;