Strangeness in set command

Eli Zaretskii eliz@gnu.org
Tue Apr 8 20:45:00 GMT 2008


> X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
> 	version=3.1.0
> Date: Tue, 08 Apr 2008 11:57:46 +0100
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: Michael Snyder <msnyder@specifix.com>, drow@false.org,
> 	schwab@suse.de, gdb@sources.redhat.com
> 
> 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.



More information about the Gdb mailing list