Re: gdb reverse execution: how to actually run tests for it?

Hui Zhu
2009-08-17T15:31:52Z

On Mon, Aug 17, 2009 at 19:55, Pedro Alves<pedro@codesourcery.com> wrote:
> On Monday 17 August 2009 12:51:06, Pedro Alves wrote:
>> In any case, for the cases a board file is needed for testing
>> reverse, it would be nice to have that explained in the
>> wiki (or somewhere else).
>
> I should add that it is a shame that the remote targets
> don't report support for reverse until GDB tries it first...
>
> How bad is the failure mode in the reverse tests if the target
> does not support reverse at all?  Can't we try a simple
> probing-for-support reverse test and if that fails skip the
> rest of the reverse tests?  That would likely get rid of all
> the current needs for a hacked board file.
>
> --
> Pedro Alves
>

It will be very helpful.

If the target don't support reverse, it will out like:
(gdb) rc
Target child does not support this command.

Thanks,
Hui