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
2 changed files with 14 additions and 1 deletions
|
@ -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>
|
2014-09-25 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* infrun.c (stepping_past_instruction_at)
|
* infrun.c (stepping_past_instruction_at)
|
||||||
|
|
|
@ -2201,7 +2201,16 @@ should_be_inserted (struct bp_location *bl)
|
||||||
|| bl->loc_type == bp_loc_hardware_breakpoint)
|
|| bl->loc_type == bp_loc_hardware_breakpoint)
|
||||||
&& stepping_past_instruction_at (bl->pspace->aspace,
|
&& stepping_past_instruction_at (bl->pspace->aspace,
|
||||||
bl->address))
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue