aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-09-16 04:10:41 +0000
committerDaniel Jacobowitz <drow@false.org>2006-09-16 04:10:41 +0000
commit04d1f7700319db417aa68f8a81549ce57d73b1d3 (patch)
tree0ace7ff20e006622274eabda229f032c4d1deed4 /gdb/interps.c
parent16dd5e4216c03faafc790df4736dba54638cc56e (diff)
downloadgdb-04d1f7700319db417aa68f8a81549ce57d73b1d3.zip
gdb-04d1f7700319db417aa68f8a81549ce57d73b1d3.tar.gz
gdb-04d1f7700319db417aa68f8a81549ce57d73b1d3.tar.bz2
2006-09-16 Andrzej Zaborowski <balrog@zabor.org>
* interps.c (interpreter_exec_cmd): Restore interpreter properties.
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index f72f683..d65a0ff 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -402,9 +402,9 @@ interpreter_exec_cmd (char *args, int from_tty)
if (e.reason < 0)
{
interp_set (old_interp);
- interp_set_quiet (interp_to_use, old_quiet);
+ interp_set_quiet (interp_to_use, use_quiet);
+ interp_set_quiet (old_interp, old_quiet);
error (_("error in command: \"%s\"."), prules[i]);
- break;
}
}