projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c94ed
)
(interpreter_exec_cmd): Use condition,
author
Nick Roberts
<nickrob@snap.net.nz>
Wed, 26 Jan 2005 09:56:18 +0000
(09:56 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Wed, 26 Jan 2005 09:56:18 +0000
(09:56 +0000)
e.reason < 0, to raise an error.
gdb/interps.c
patch
|
blob
|
history
diff --git
a/gdb/interps.c
b/gdb/interps.c
index d33b19ee01ed80e87905fd668d1b727794ad9ea7..4a521baa4492002bebd41011c59340548479a81f 100644
(file)
--- 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);