This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]