This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

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
> variable"?

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".


-- 
Daniel Jacobowitz
CodeSourcery


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