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 Date: Fri, 30 Mar 2001 08:01:00 -0000 Message-id: <20010330110844.A22818@llamedos.org> References: <20010330033426.A22133@llamedos.org> <20010330005457.A21793@llamedos.org> <200103300713.CAA15333@indy.delorie.com> <4.2.0.58.20010330133528.01b61200@ics.u-strasbg.fr> X-SW-Source: 2001-03/msg00554.html 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 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)