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: substitute gdb convenience variable into gdb command


On Tue, Feb 12, 2008 at 11:41:33AM -0800, Michael Snyder wrote:
> Hmm!  That's a bit of an oversight...
> thread_apply_command calls strtol.  It ought to call
> one of the built-in expression parsing functions.

Not really.  It would become pretty much impossible to parse the
command if you did that.  There's no reliable way to find the end of
an expression if it has unknown text afterwards.

-- 
Daniel Jacobowitz
CodeSourcery


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