From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Muller To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline (second try) Date: Fri, 06 Apr 2001 09:35:00 -0000 Message-id: <4.2.0.58.20010406182645.00c76e80@ics.u-strasbg.fr> References: <87vgoi58lr.fsf@creche.redhat.com> <20010330005457.A21793@llamedos.org> <20010330163603.A27435@llamedos.org> <20010403013600.B7630@llamedos.org> <87n19uirbk.fsf@creche.redhat.com> <200104060832.EAA17613@indy.delorie.com> <200104061626.MAA01438@indy.delorie.com> X-SW-Source: 2001-04/msg00063.html At 18:26 06/04/01 , vous avez écrit: > > From: Tom Tromey > > Date: 06 Apr 2001 09:52:16 -0600 > > > > Maybe you mean that redirections won't work as expected. > >Redirection is one thing I thought about. But anything else that has >side effects, such as setting variables or computing expressions, >could potentially work differently as well. File expansion would also occur, no ? By the way, does this occur to args given by set args ? Probably not, but I am not sure here. Sometimes it would be helpful to get the shell to expand the args before passing them to the program, but in other case you explicitly don't want this. If we add "--" option support it would give a simple way of getting this shell expansion as opposed to using 'set args' later. But this again prooves that there are really subtle issues here! 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