This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to add QNX NTO i386 support


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]