This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Inferior command line arguments
On Fri, Sep 28, 2001 at 03:30:58PM -0600, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
>
> Daniel> As much as I'd prefer '--' (those objections, while completely
> Daniel> correct, could be overcome with a bit of work; I admit I
> Daniel> hadn't thought of them), I'd rather see '---' than --args --,
> Daniel> because it doesn't allow for the confusing semantics of
> Daniel> '--args' without the '--'.
>
> I'm not really a fan of `---'. It doesn't seem visible enough.
>
> I might be able to make `--args' end argument processing. Then you
> would write:
>
> gdb --args gdb -nw
>
> and debug `gdb -nw'. What would you think of this?
While I would prefer '--', that doesn't seem practical; if --args ended
argument processing, I'd be satisfied with that.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer