| commit | f1fd7cd52e3829f0073c2d740b3d1998dcfd4923 | [log] [tgz] |
|---|---|---|
| author | Petr Machata <pmachata@redhat.com> | Thu Apr 19 03:05:58 2012 +0200 |
| committer | Petr Machata <pmachata@redhat.com> | Thu Apr 19 03:05:58 2012 +0200 |
| tree | 4d78506f1b9ad159f2a1ab29fea51226cf705969 | |
| parent | 9e1e969838d9cc520abb96038aa98520c08c80b9 [diff] [blame] |
Fix post_singlestep for cases where event was already sunk
diff --git a/sysdeps/linux-gnu/trace.c b/sysdeps/linux-gnu/trace.c index ef85747..149534f 100644 --- a/sysdeps/linux-gnu/trace.c +++ b/sysdeps/linux-gnu/trace.c
@@ -617,7 +617,7 @@ { continue_for_sigstop_delivery(&self->pids); - if ((*eventp)->type == EVENT_BREAKPOINT) + if (*eventp != NULL && (*eventp)->type == EVENT_BREAKPOINT) *eventp = NULL; // handled if (self->atomic_skip_bp_addr != 0)