[PATCH] specify arguments to debugee from commandline
Fri Mar 30 03:47:00 GMT 2001
At 12:37 30/03/01 , vous avez ÃÂ©crit:
>On Mar 30, 2001, David Deephanphongs <firstname.lastname@example.org> wrote:
> > 2) There was a suggestion to change the syntax:
> > you would be able to run gdb like so:
> > gdb <various options> -run <progname> [<arg1>...<argn>]
> > My implementation is cleaner (it modiifies inferior_arguments directly)
> > and keeps the GDB syntax exactly the same as it is now.
>But it requires pre-parsing and quoting of the argument list, so you
>can't just do something like:
Why doesn't GDB simply use '--' like X ?
Everything that appears after '--' are considered as args for set args !
Institut Charles Sadron
F 67083 STRASBOURG CEDEX (France)
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
More information about the Gdb-patches