This is the mail archive of the
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> <firstname.lastname@example.org>
- Reply-To: david at llamedos dot org
Thus spake Tom Tromey (email@example.com):
> >>>>> "David" == David Deephanphongs <firstname.lastname@example.org> 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.
"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
(Terry Pratchett, Sourcery)