From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: Daniel Jacobowitz Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: RFC: Inferior command line arguments Date: Fri, 28 Sep 2001 12:24:00 -0000 Message-id: <871ykrhzwi.fsf@creche.redhat.com> References: <87zo7gq7gb.fsf@creche.redhat.com> <3BB4C04D.22C3DAB5@cygnus.com> <877kuji2b7.fsf@creche.redhat.com> <20010928145938.A13638@nevyn.them.org> X-SW-Source: 2001-09/msg00429.html >>>>> "Daniel" == Daniel Jacobowitz writes: >> It might be possible to have `--args' stop all other argument >> processing. I haven't investigated that. Daniel> Rather than continue down this path, I'd much rather see us Daniel> fix or fork GNU getopt so that we can detect the presence of Daniel> '--'; I'd think in fact we could do it without having to go Daniel> through all these hoops, but I haven't actually looked at the Daniel> code. Using `--' as an indicator that gdb should use the remaining arguments as inferior command-line option is an incompatible change. Right now you can invoke: gdb -- file core This is equivalent to: gdb file core I personally don't care about this, but I've tried to avoid incompatible changes on the theory that it will make it harder for me to get a patch in. Tom