patch to add QNX NTO i386 support

Kris Warkentin kewarken@qnx.com
Tue Feb 18 22:30:00 GMT 2003


> > Why arrrgh?  I know it makes run a little context sensitive but I don't
> > think anyone trips on it.  The normal usage pattern of gdb precludes
people
> > having problems with it and it's very useful for us.  I still haven't
heard
> > any suggestions of how we might accomplish what we do.
>
> In a single sentence, what does this command do?
>
> run /a/program
>
> Your answer cannot contain the word `if' :-)
>
> There are separate commands for specifying the program to be run.
> Perhaphs additional commands are needed.

Alright.  Perhaps the 'exec-file' command?  It seems to me that
'symbol-file' and 'exec-file' should combine into the 'file' command.  The
problem is that 'exec-file /tmp/some_file' fails if there is no
/tmp/some_file.  Maybe we could make the exec-file command unconditional?
That way the target_ops run command can deal with it.

cheers,

Kris



More information about the Gdb-patches mailing list