On 5 March 2013 16:25, Petr Machata <[email protected]> wrote: > Markos Chandras <[email protected]> writes: > >> 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); > > Does this actually work? Where do you enable that breakpoint again? > > If the architecture doesn't have hardware singlestepping, you'll need to > use the software singlestepping support in ltrace, like MIPS, ARM (on > pmachata/arm branch) and to some degree PPC do. > > FWIW, I doubt that SPARC support in fact works. Also that IA64 ifdef > contains a typo, which is the reason that IA64 works. This really > should have been removed a long time ago, and I commited that change > now. > > Thanks, > PM
Hi Petr, Thanks for the comments. Ok I will see what MIPS and ARM do for software singlestepping and I will do the same for Meta. -- Regards, Markos Chandras _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
