GDB needs a --cmdline option
Wed May 10 08:09:00 GMT 2000
Mo DeJong wrote:
> On Mon, 8 May 2000, Fernando Nasser wrote:
> > Based on what DJ wrote, we could do something similar to dbx.
> > gdb <gdb command line switches> -run <command line>
> > The first token would be the program to run and everything else
> > would be set as arguments for that program (implicit "set args").
> > The -run must be (obviously) the last gdb command line switch.
> > Gdb will silently exit on program exit, with the same return code
> > as the inferior ended.
> > Opinions? Volunteers?
> This functionality would be great. We need this for Source Nav
> to debug our really lousy custom parsers. They crash all the time
> but they are run in a pipeline so it is kind of ugly to try to debug
> them. It would be really great if the parsers could be "run in gdb"
> and just act like the normal program when nothing went wrong.
> I have never hacked on gdb before, but I would be willing to do
> whatever I can to help making this cool feature a reality.
Lets do it together. But I can only start 5/29. Can it wait that long?
Red Hat - Toronto E-Mail: email@example.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
More information about the Gdb-patches