gdb/209: Feature request: Pass subprogram command options on gdb command line

tromey@redhat.com tromey@redhat.com
Wed Oct 10 01:14:00 GMT 2001


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



More information about the Gdb-prs mailing list