This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch to add QNX NTO i386 support
On Thu, Feb 13, 2003 at 07:11:58PM -0500, Kris Warkentin wrote:
> > That said, I still think you should be using "file" above. File
> > specifies the main program, and that's what it is. Then you can give
> > whatever path you want to the stub.
>
> 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?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer