diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-07-31 23:08:22 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-07-31 23:08:22 +0000 |
commit | 967af18d0dd9f6ce0fd75f0e08865cbeae771c69 (patch) | |
tree | f24c1f6150b37ed3127e4cbb302108463b76b16f /gdb/breakpoint.c | |
parent | 40742ab60acd9f4e347ee28d7087348b8b6c9912 (diff) | |
download | gdb-967af18d0dd9f6ce0fd75f0e08865cbeae771c69.zip gdb-967af18d0dd9f6ce0fd75f0e08865cbeae771c69.tar.gz gdb-967af18d0dd9f6ce0fd75f0e08865cbeae771c69.tar.bz2 |
2007-07-31 Michael Snyder <msnyder@access-company.com>
* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
True and false paths are mutually exclusive.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 2c67b53..8c27a24 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1729,7 +1729,7 @@ breakpoint_init_inferior (enum inf_context context) /* Likewise for watchpoints on local expressions. */ if (b->exp_valid_block != NULL) delete_breakpoint (b); - if (context == inf_starting) + else if (context == inf_starting) { /* Reset val field to force reread of starting value in insert_breakpoints. */ |