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


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


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