This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] specify arguments to debugee from commandline (second try)


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]