[RFC] Add support of software single step to process record

Hui Zhu teawater@gmail.com
Wed Dec 23 03:09:00 GMT 2009


Faint.  Shuchang told me this patch cannot be used.  I just tried find
out why it happen.
Thanks a lot.  :)

Best Regards,
Hui

On Wed, Dec 23, 2009 at 02:23, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> ">" == Hui Zhu <teawater@gmail.com> writes:
>
> >> This patch to make prec support software single step.
> >> I just try it with i386.  Shuchang, please help me try it on mips.  :)
>
> >> +int
> >> +inserted_single_step_breakpoint_p (void)
> >> +{
> >> +  if (single_step_breakpoints[0] != NULL
> >> +      || single_step_breakpoints[1] != NULL)
> >> +    return 1;
> >> +
> >> +  return 1;
> >> +}
>
> This always returns 1.
> That seems suspicious to me.
>
> Tom



More information about the Gdb-patches mailing list