aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/interps.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 73ab067..553240b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-16 Andrzej Zaborowski <balrog@zabor.org>
+
+ * interps.c (interpreter_exec_cmd): Restore interpreter properties.
+
2006-09-10 Daniel Jacobowitz <dan@codesourcery.com>
PR threads/2149
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;
}
}