This is the mail archive of the gdb-patches@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]

[PATCH] interpreter-exec error path


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

Attachment: gdb-interpreter-exec.patch
Description: Binary data


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