This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add support of software single step to process record
- From: Hui Zhu <teawater at gmail dot com>
- To: tromey at redhat dot com
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>, Michael Snyder <msnyder at vmware dot com>, shuchang zhou <shuchang dot zhou at gmail dot com>, paawan oza <paawan1982 at yahoo dot com>
- Date: Wed, 23 Dec 2009 11:09:16 +0800
- Subject: Re: [RFC] Add support of software single step to process record
- References: <daef60380912180021h5d029e55k7dc4e3f4c8d33b36@mail.gmail.com> <m3my1a7tru.fsf@fleche.redhat.com>
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