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 (second try)
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: [PATCH] specify arguments to debugee from commandline (second try)
- From: David Deephanphongs <deephan at telocity dot com>
- Date: Sat, 7 Apr 2001 01:55:03 -0400
- References: <20010330005457.A21793@llamedos.org> <20010330163603.A27435@llamedos.org> <20010403013600.B7630@llamedos.org> <87n19uirbk.fsf@creche.redhat.com>
- Reply-To: david at llamedos dot org
Thus spake Tom Tromey (tromey@redhat.com):
> >>>>> "David" == David Deephanphongs <deephan@erols.com> writes:
>
> David> Con: breaks anything that uses core files that are named "--",
> David> although that's probably not too likely.
>
> It is entirely possible that this case already doesn't work, due to
> the special handling of `--' in GNU getopt. Has anybody tried it?
As it turns out, this /doesn't/ work.
Alright, the '--' way is an acceptable option.
Dave
--
"It's going to look pretty good, then, isn't it," said War testily, "the
One Horseman and Three Pedestrians of the Apocralypse."
-- The Four Horsemen of the Apocralypse encounter
unexpected difficulties
(Terry Pratchett, Sourcery)