This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
configure.host/tgt patch for QNX Neutrino
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Wed, 26 Feb 2003 15:02:21 -0500
- Subject: configure.host/tgt patch for QNX Neutrino
Okay, other than the readline change, this is pretty much the last QNX patch
that doesn't require adding of files. After this, all I need to do is put
in the stuff under the config dir and our c files.
Turns out that I managed to simplify the config even further. We don't need
a top level config file so I removed all top level configure changes and the
config.sub change turned out to not be necessary since we can just configure
with --target=i386-nto. The 'ntox86' thing is an artifact of our automated
build scripts that needs to be fixed on our end.
cheers,
Kris
ChangeLog
* configure.host: Add QNX Neutrino support.
* configure.tgt: Likewise.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.48
diff -u -r1.48 configure.host
--- configure.host 5 Feb 2003 15:31:55 -0000 1.48
+++ configure.host 26 Feb 2003 19:56:21 -0000
@@ -63,6 +63,7 @@
i[3456]86-*-linux*) gdb_host=linux ;;
i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
i[3456]86-*-gnu*) gdb_host=i386gnu ;;
+i[3456]86-*-nto*) gdb_host=nto ;;
i[3456]86-*-openbsd*) gdb_host=obsd ;;
i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.98
diff -u -r1.98 configure.tgt
--- configure.tgt 5 Feb 2003 23:14:47 -0000 1.98
+++ configure.tgt 26 Feb 2003 19:56:21 -0000
@@ -90,6 +90,7 @@
i[3456]86-*-openbsd*) gdb_target=obsd ;;
i[3456]86-*-go32*) gdb_target=i386aout ;;
i[3456]86-*-msdosdjgpp*) gdb_target=go32 ;;
+i[3456]86-*-nto*) gdb_target=i386nto;;
i[3456]86-*-lynxos*) gdb_target=i386lynx ;;
i[3456]86-*-solaris*) gdb_target=i386sol2 ;;
i[3456]86-*-sco*) gdb_target=i386v ;;
@@ -280,5 +281,6 @@
case "${target}" in
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
+*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
esac