This is the mail archive of the
mailing list for the GDB project.
Re: Strangeness in set command
On Sat, Apr 05, 2008 at 08:12:43PM +0300, Eli Zaretskii wrote:
> Does anyone object to improving the error message to mention "set
I don't think it will help; it's just luck you got an ambiguity since
there are two commands starting with s. You could get any number of
other errors, or even silent success. Like:
(gdb) set ser.a = 1
Undefined set serial command: ".a = 1". Try "help set serial".
(gdb) set args.a = 1
(gdb) show args
Argument list to give program being debugged when it is started is ".a = 1".