diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-05-08 18:49:42 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-05-08 18:49:42 +0000 |
commit | c41535fdc41896a2e881e1386eb3be9dff6ca6c4 (patch) | |
tree | 27748eeb952799924a6f232d7d48398c331fc846 /gdb/copying.c | |
parent | 80f5885c0674e3f865455e9e03ea60e67f1e4ed3 (diff) | |
download | gdb-c41535fdc41896a2e881e1386eb3be9dff6ca6c4.zip gdb-c41535fdc41896a2e881e1386eb3be9dff6ca6c4.tar.gz gdb-c41535fdc41896a2e881e1386eb3be9dff6ca6c4.tar.bz2 |
Display the ">" prompt in interactive mode while reading canned
commands, even when the current interpreter is MI.
interps.c (interp_set_temp): New function.
interps.h (interp_set_temp): Add prototype.
cli/cli-script.c (restore_interp): New cleanup function.
(read_command_lines): Temporarily override the current interpreter
with CLI and arrange for restoring the original one.
Diffstat (limited to 'gdb/copying.c')
0 files changed, 0 insertions, 0 deletions