* breakpoint.c (bpstat_should_step): Only consider software
watchpoints that have a location.
This commit is contained in:
parent
c743cf5d81
commit
717a8278b1
@ -1,3 +1,8 @@
|
||||
2009-03-18 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* breakpoint.c (bpstat_should_step): Only consider software
|
||||
watchpoints that have a location.
|
||||
|
||||
2009-03-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Add a target_ops parameter to the to_kill method in struct target_ops.
|
||||
|
@ -3304,7 +3304,7 @@ bpstat_should_step (void)
|
||||
{
|
||||
struct breakpoint *b;
|
||||
ALL_BREAKPOINTS (b)
|
||||
if (breakpoint_enabled (b) && b->type == bp_watchpoint)
|
||||
if (breakpoint_enabled (b) && b->type == bp_watchpoint && b->loc != NULL)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user