mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
breakpoint.c: debug output when we skip inserting a breakpoint
gdb/ 2014-09-25 Pedro Alves <palves@redhat.com> * breakpoint.c (should_be_inserted): Add debug output.
This commit is contained in:
parent
7f89fd6519
commit
e558d7c109
@ -1,3 +1,7 @@
|
||||
2014-09-25 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* breakpoint.c (should_be_inserted): Add debug output.
|
||||
|
||||
2014-09-25 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (stepping_past_instruction_at)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user