diff options
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index d33b19e..4a521ba 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); |