[reverse RFA] no singlestep-over-BP in reverse

teawater teawater@gmail.com
Thu Sep 18 06:39:00 GMT 2008


On Thu, Sep 18, 2008 at 02:13, Michael Snyder <msnyder@vmware.com> wrote:
> teawater wrote:
>>
>> Agree with you.
>>
>> And I think Maybe need add a test for it.
>> I think is:
>> 1. There is a statement that set the value of a variable.
>> For example:
>> a = 1;
>> 2. Before this statement, the value of this variable is not same with new
>> value.
>> 3. Set a breakpoint on this statement, And check the value of this
>> variable when forward execute and reverse execute program break by
>> this breakpoint. If the value is the new value, fail. If is the old
>> value, pass.
>
> That's the idea behind this test.
> Do you think this test does what you want?
> If not, what would you add to it?
>
> http://sourceware.org/ml/gdb-patches/2008-09/msg00365.html
>
>

I think it's OK. Sorry I send this mail before read this test RFC.

Thanks,
Hui



More information about the Gdb-patches mailing list