This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/209: Feature request: Pass subprogram command options on gdb command line
- From: tromey at redhat dot com
- To: gdb-prs at sources dot redhat dot com, gdb at treblig dot org, nobody at sources dot redhat dot com, tromey at redhat dot com
- Date: 22 Nov 2001 00:57:49 -0000
- Subject: Re: gdb/209: Feature request: Pass subprogram command options on gdb command line
Synopsis: Feature request: Pass subprogram command options on gdb command line
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Wed Nov 21 16:57:49 2001
Responsible-Changed-Why:
I'm handling it.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Wed Nov 21 16:57:49 2001
State-Changed-Why:
I checked in a patch to implement this feature on the trunk.
I believe it will appear in gdb 5.2.
The option is named "--args", so you would use:
gdb --args programtorun programoptions
My patch doesn't automatically start the inferior.
That might be a useful feature, but it deserves a
second change request.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=209&database=gdb