aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2007-12-17 11:34:45 +0000
committerLuis Machado <luisgpm@br.ibm.com>2007-12-17 11:34:45 +0000
commit28e78778f51cfb840c676bcc243bba0bdca79119 (patch)
tree5254e96dcdaeaf5e87967ff91ac55e496161d90c /gdb/breakpoint.c
parent551e5d04d1f19e6d09121ff94c525f7867ff0bad (diff)
downloadgdb-28e78778f51cfb840c676bcc243bba0bdca79119.zip
gdb-28e78778f51cfb840c676bcc243bba0bdca79119.tar.gz
gdb-28e78778f51cfb840c676bcc243bba0bdca79119.tar.bz2
* breakpoint.c (bpstat_stop_status): Check an additional
condition before evaluating an expression value.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 651ee89..44c02f0 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -2823,7 +2823,7 @@ bpstat_stop_status (CORE_ADDR bp_addr, ptid_t ptid)
if (b->type == bp_watchpoint_scope)
b->related_breakpoint->watchpoint_triggered = watch_triggered_yes;
- if (bl->cond)
+ if (bl->cond && bl->owner->disposition != disp_del_at_next_stop)
{
/* Need to select the frame, with all that implies
so that the conditions will have the right context. */