[PATCH] specify arguments to debugee from commandline (second try)

Pierre Muller muller@cerbere.u-strasbg.fr
Fri Apr 6 09:35:00 GMT 2001


At 18:26 06/04/01 , vous avez écrit:
> > From: Tom Tromey <tromey@redhat.com>
> > 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



More information about the Gdb-patches mailing list