From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31899 invoked by alias); 13 Feb 2003 22:25:15 -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 31881 invoked from network); 13 Feb 2003 22:25:14 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by 172.16.49.205 with SMTP; 13 Feb 2003 22:25:14 -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 RAA09350; Thu, 13 Feb 2003 17:14:06 -0500 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id RAA11100; Thu, 13 Feb 2003 17:25:13 -0500 Message-ID: <020c01c2d3ae$c7cb39b0$0202040a@catdog> From: "Kris Warkentin" To: "Daniel Jacobowitz" Cc: "Mark Kettenis" , "Andrew Cagney" , References: <1c3601c2cbc1$72eac3b0$0202040a@catdog> <3E40387D.50001@redhat.com> <008f01c2ce4b$427295f0$2a00a8c0@dash> <86lm0r3nha.fsf@elgar.kettenis.dyndns.org> <01dd01c2d3aa$d4c1b1c0$0202040a@catdog> <20030213220751.GA15234@nevyn.them.org> Subject: Re: patch to add QNX NTO i386 support Date: Thu, 13 Feb 2003 22:25: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/msg00313.txt.bz2 > > This GDB was configured as "--host=i686-pc-cygwin --target=ntox86". > > (gdb) target qnx ren:10000 > > Remote debugging using ren:10000 > > (gdb) sym blah > > Reading symbols from blah...done. > > Silly question - why not say "file blah" here? That'll set exec_bfd, > and you'll be just fine. Not silly. If you say 'file' you have tied yourself to the host and target file being the same. I need to be able to get syms from /home/kewarken/foo and run /tmp/foo. > If I'm right, and you want to support the above sequence, you could > probably locally make sym set the exec file, if none was set. I'm trying to find the right place to call exec_file_attach or some such. I think I'm close....;-) cheers, Kris