[PATCH] interpreter-exec error path

andrzej zaborowski balrog@zabor.org
Mon Sep 11 00:48:00 GMT 2006


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

The attached patch will handle the error more correctly.
-- 
balrog 2oo6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-interpreter-exec.patch
Type: application/octet-stream
Size: 584 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20060911/523b0f7f/attachment.obj>


More information about the Gdb-patches mailing list