This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] interpreter-exec error path
On Mon, Sep 11, 2006 at 02:48:33AM +0200, andrzej zaborowski wrote:
> If any of the commands executed through "interpreter-exec" fails, the
> "quiet" value is not restored for the interpreter. This may result in
> something like the following.
>
> (gdb) interpreter-exec console rubbish
> Undefined command: "rubbish". Try "help".
> error in command: "rubbish".
>
> readline: readline_callback_read_char() called with no handler!
> Aborted
Thanks for the patch! Regardless of the bigger picture, I think it's
correct for the current code, so I've applied it.
--
Daniel Jacobowitz
CodeSourcery