mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
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.
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
||||
* event-top.c (command_line_handler): Add pedantic return.
|
||||
|
||||
* f-valprint.c (info_common_command): Bail out to prevent null
|
||||
|
@ -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. */
|
||||
|
Reference in New Issue
Block a user