This is the mail archive of the
mailing list for the GDB project.
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.