From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Deephanphongs To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline (second try) Date: Fri, 06 Apr 2001 22:46:00 -0000 Message-id: <20010407015503.A15325@llamedos.org> References: <20010330005457.A21793@llamedos.org> <20010330163603.A27435@llamedos.org> <20010403013600.B7630@llamedos.org> <87n19uirbk.fsf@creche.redhat.com> X-SW-Source: 2001-04/msg00086.html Thus spake Tom Tromey (tromey@redhat.com): > >>>>> "David" == David Deephanphongs 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)