diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-14 21:25:51 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-14 21:25:51 +0000 |
commit | abbb1732a91accadee3e1c00b75fc0a3f418fae7 (patch) | |
tree | ebe572bfbd5022d93857d023df66223f8eafd098 /gdb/interps.c | |
parent | d8734c886e14a4840c59ad815f7b9dc81cc9276c (diff) | |
download | binutils-gdb-abbb1732a91accadee3e1c00b75fc0a3f418fae7.tar.gz |
2010-05-14 Michael Snyder <msnyder@vmware.com>
* infcall.c: White space.
* inf-child.c: White space.
* infcmd.c: White space.
* inferior.c: White space.
* inf-loop.c: White space.
* inflow.c: White space.
* inline-frame.c: White space.
* interps.c: White space.
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index f142e5a6707..494c15c588b 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -306,6 +306,7 @@ static int interp_set_quiet (struct interp *interp, int quiet) { int old_val = interp->quiet_p; + interp->quiet_p = quiet; return old_val; } @@ -400,6 +401,7 @@ interpreter_exec_cmd (char *args, int from_tty) for (i = 1; i < nrules; i++) { struct gdb_exception e = interp_exec (interp_to_use, prules[i]); + if (e.reason < 0) { interp_set (old_interp, 0); |