From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Muller To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline Date: Fri, 30 Mar 2001 03:47:00 -0000 Message-id: <4.2.0.58.20010330133528.01b61200@ics.u-strasbg.fr> References: <20010330033426.A22133@llamedos.org> <20010330005457.A21793@llamedos.org> <200103300713.CAA15333@indy.delorie.com> X-SW-Source: 2001-03/msg00549.html At 12:37 30/03/01 , vous avez écrit: >On Mar 30, 2001, David Deephanphongs wrote: > > > 2) There was a suggestion to change the syntax: > > you would be able to run gdb like so: > > gdb -run [...] > > > My implementation is cleaner (it modiifies inferior_arguments directly) > > and keeps the GDB syntax exactly the same as it is now. > >But it requires pre-parsing and quoting of the argument list, so you >can't just do something like: Why doesn't GDB simply use '--' like X ? Everything that appears after '--' are considered as args for set args ! Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99