gdb/
Code cleanup. * breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop.
This commit is contained in:
parent
522f09cd4c
commit
1f7ccab234
@ -1,3 +1,8 @@
|
||||
2010-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Code cleanup.
|
||||
* breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop.
|
||||
|
||||
2010-04-04 Stan Shebs <stan@codesourcery.com>
|
||||
Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
|
@ -4141,12 +4141,8 @@ bpstat_stop_status (struct address_space *aspace,
|
||||
not have changed, but the intermediate memory locations we are
|
||||
watching may have. Don't bother if we're stopping; this will get
|
||||
done later. */
|
||||
for (bs = root_bs->next; bs != NULL; bs = bs->next)
|
||||
if (bs->stop)
|
||||
break;
|
||||
|
||||
need_remove_insert = 0;
|
||||
if (bs == NULL)
|
||||
if (! bpstat_causes_stop (root_bs->next))
|
||||
for (bs = root_bs->next; bs != NULL; bs = bs->next)
|
||||
if (!bs->stop
|
||||
&& bs->breakpoint_at->owner
|
||||
|
Loading…
Reference in New Issue
Block a user