From 04d1f7700319db417aa68f8a81549ce57d73b1d3 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 16 Sep 2006 04:10:41 +0000 Subject: [PATCH] 2006-09-16 Andrzej Zaborowski * interps.c (interpreter_exec_cmd): Restore interpreter properties. --- gdb/ChangeLog | 4 ++++ gdb/interps.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 73ab0678e1c..553240b5312 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2006-09-16 Andrzej Zaborowski + + * interps.c (interpreter_exec_cmd): Restore interpreter properties. + 2006-09-10 Daniel Jacobowitz PR threads/2149 diff --git a/gdb/interps.c b/gdb/interps.c index f72f683f44a..d65a0ff64a5 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; } } -- 2.30.2