projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Normalize TRY_CATCH exception handling block
[deliverable/binutils-gdb.git]
/
gdb
/
infcmd.c
diff --git
a/gdb/infcmd.c
b/gdb/infcmd.c
index 99104e9b673d924c18e1a642afebd78aa39eb97b..e92b777023002cde533035627bc44fe7780d87a4 100644
(file)
--- a/
gdb/infcmd.c
+++ b/
gdb/infcmd.c
@@
-430,8
+430,11
@@
post_create_inferior (struct target_ops *target, int from_tty)
{
stop_pc = regcache_read_pc (get_current_regcache ());
}
- if (ex.reason < 0 && ex.error != NOT_AVAILABLE_ERROR)
- throw_exception (ex);
+ if (ex.reason < 0)
+ {
+ if (ex.error != NOT_AVAILABLE_ERROR)
+ throw_exception (ex);
+ }
if (exec_bfd)
{
This page took
0.026719 seconds
and
4
git commands to generate.