This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] specify arguments to debugee from commandline
David Deephanphongs wrote:
>
> Thus spake Pierre Muller (muller@cerbere.u-strasbg.fr):
> >
> > Why doesn't GDB simply use '--' like X ?
> >
> > Everything that appears after '--' are considered as args for set args !
> >
>
> Since GDB has the gdb <prog> <core|pid> syntax, using -- would remove the
> possibility of having core files that are named --. Granted, that's not too
> likely, but it seems like if we can avoid any compatability problems we should.
Ever tried deleting a file called ``-rf *''? :-)
I like Pierre's suggestion. I think users could live with the need to
enter './-rf *' occasionally.
Andrew