From a7479e7ea11d52dc00e71a92f12f144c2272172a Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Wed, 26 Jan 2005 09:56:18 +0000 Subject: [PATCH] (interpreter_exec_cmd): Use condition, e.reason < 0, to raise an error. --- gdb/interps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/interps.c b/gdb/interps.c index d33b19ee01e..4a521baa449 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -399,7 +399,7 @@ interpreter_exec_cmd (char *args, int from_tty) for (i = 1; i < nrules; i++) { struct exception e = interp_exec (interp_to_use, prules[i]); - if (!e.reason) + if (e.reason < 0) { interp_set (old_interp); interp_set_quiet (interp_to_use, old_quiet); -- 2.30.2