diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 3675b4f..bec7f68 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2201,7 +2201,16 @@ should_be_inserted (struct bp_location *bl) || bl->loc_type == bp_loc_hardware_breakpoint) && stepping_past_instruction_at (bl->pspace->aspace, bl->address)) - return 0; + { + if (debug_infrun) + { + fprintf_unfiltered (gdb_stdlog, + "infrun: skipping breakpoint: " + "stepping past insn at: %s\n", + paddress (bl->gdbarch, bl->address)); + } + return 0; + } return 1; } |