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


Thus spake Pierre Muller (muller@cerbere.u-strasbg.fr):
> 
>    Why doesn't GDB simply use  '--' like X ?
> 
> Everything that appears after '--' are considered as args for set args !
> 

Since GDB has the gdb <prog> <core|pid>  syntax, using -- would remove the
possibility of having core files that are named --.  Granted, that's not too
likely, but it seems like if we can avoid any compatability problems we should.

Dave
(ps. I'm subscribed to gdb-sources, so I don't need to be emailed directly.)

--
In fact, the mere act of opening the box will determine the state of the
cat, although in this case there were three determinate states the cat
could be in: these being Alive, Dead, and Bloody Furious.
        -- Schrodinger's Moggy explained
           (Terry Pratchett, Lords and Ladies)


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