From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14064 invoked by alias); 26 Feb 2003 20:02:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14052 invoked from network); 26 Feb 2003 20:02:17 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by 172.16.49.205 with SMTP; 26 Feb 2003 20:02:17 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id OAA30106 for ; Wed, 26 Feb 2003 14:50:00 -0500 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id PAA06888 for ; Wed, 26 Feb 2003 15:02:16 -0500 Message-ID: <002401c2ddd1$f93fb340$0202040a@catdog> From: "Kris Warkentin" To: Subject: configure.host/tgt patch for QNX Neutrino Date: Wed, 26 Feb 2003 20:02:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2003-02/txt/msg00736.txt.bz2 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