This is the mail archive of the
mailing list for the GDB project.
Re: Strangeness in set command
On Tue, Apr 8, 2008 at 11:56 AM, Eli Zaretskii <email@example.com> wrote:
> > From: Andrew STUBBS <firstname.lastname@example.org>
> > Eli Zaretskii wrote:
> > > Or maybe, if the text after "set " has a `=' character in it, we
> > > should ask whether the user really meant "set variable". IOW, refuse
> > > to obey this shortcut, even if it's unambiguous.
> > >
> > Hmmm, that's not great for set args:
> > (gdb) set args --command=myscript
> That one could be special-cased.
There's also prompt, env, and others. Maybe the thing to do is key
off of var_string, etc., except that one can pass expressions for
integer/boolean vars. Does the command parser know in time what it's