From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10900 invoked by alias); 14 Feb 2003 00:35:55 -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 10892 invoked from network); 14 Feb 2003 00:35:55 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by 172.16.49.205 with SMTP; 14 Feb 2003 00:35:55 -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 TAA21225; Thu, 13 Feb 2003 19:24:46 -0500 Received: from dash ([192.168.20.38]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id TAA00758; Thu, 13 Feb 2003 19:35:53 -0500 Message-ID: <017c01c2d3c1$6196b210$2a00a8c0@dash> From: "Kris Warkentin" To: "Daniel Jacobowitz" Cc: References: <3E40387D.50001@redhat.com> <008f01c2ce4b$427295f0$2a00a8c0@dash> <86lm0r3nha.fsf@elgar.kettenis.dyndns.org> <01dd01c2d3aa$d4c1b1c0$0202040a@catdog> <20030213220751.GA15234@nevyn.them.org> <020c01c2d3ae$c7cb39b0$0202040a@catdog> <20030213222922.GA15783@nevyn.them.org> <000901c2d3ba$cb19aaf0$2a00a8c0@dash> <20030214000311.GA18154@nevyn.them.org> <003d01c2d3bd$b136bf30$2a00a8c0@dash> <20030214001316.GA18590@nevyn.them.org> Subject: Re: patch to add QNX NTO i386 support Date: Fri, 14 Feb 2003 00:35: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/msg00325.txt.bz2 > > Once you say 'file /home/kewarken/foo', I don't believe there is any way to > > tell it to run /tmp/foo. After I've said 'file', if I go 'run /tmp/foo' it > > tries to run /home/kewarken/foo with /tmp/foo as an argument. Perhaps I'm > > just missing something? > > Oh! I was misunderstanding - I've never seen that particular syntax > for run before, and if you ask me, it should be killed ASAP. It's > terribly confusing to ambiguously use the first argument as a program. > > Let me guess, it's the documented way to use GDB with target qnx? Bingo. And it's also the way our ide talks to gdb. If the exec filename is not set, gdb treats the first argument to run as the path to the file and subsequent arguments as regular args. cheers, Kris