From: Markos Chandras <[email protected]>

We need to disable the breakpoint he just hit, otherwise when
we resume we will hit the same breakpoint again.

Signed-off-by: Markos Chandras <[email protected]>
---
 sysdeps/linux-gnu/trace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sysdeps/linux-gnu/trace.c b/sysdeps/linux-gnu/trace.c
index 9a57a0a..a526834 100644
--- a/sysdeps/linux-gnu/trace.c
+++ b/sysdeps/linux-gnu/trace.c
@@ -909,6 +909,7 @@ continue_after_breakpoint(struct process *proc, struct 
breakpoint *sbp)
                continue_process(proc->pid);
        } else {
 #if defined __sparc__  || defined __ia64___ || defined __metag__
+               disable_breakpoint(proc, sbp);
                /* we don't want to singlestep here */
                continue_process(proc->pid);
 #else
-- 
1.7.1



_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to