From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: deephan@erols.com Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline Date: Fri, 30 Mar 2001 12:37:00 -0000 Message-id: <3AC4EE6B.B3B92D4E@cygnus.com> References: <20010330033426.A22133@llamedos.org> <20010330005457.A21793@llamedos.org> <200103300713.CAA15333@indy.delorie.com> <4.2.0.58.20010330133528.01b61200@ics.u-strasbg.fr> <20010330110844.A22818@llamedos.org> X-SW-Source: 2001-03/msg00560.html David Deephanphongs wrote: > > 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. Ever tried deleting a file called ``-rf *''? :-) I like Pierre's suggestion. I think users could live with the need to enter './-rf *' occasionally. Andrew