This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Reverse Debugging, 1/5
> Just, well, then target_set_execdir does not actually
> set the exec direction -- instead it sort of tells you
> if it's *ok* to set the exec direction -- which is what
> I would think of as target_can_reverse.
I think that the overloading of the word target is making it very
hard to understand each other.
Again, target_set_exec_dir would tell the inferior that, from now on,
the exec direction for all future resumes will be (forward|reverse).
If the target method is unset, then we know the feature is unsupported.
If it is set, and it fails, then refuse the change of direction -
feature not supported either. Otherwise, update the infrun direction
with the new direction.
--
Joel
- References:
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5
- Re: [RFA] Reverse Debugging, 1/5