This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Reverse Debugging, 1/5
> Before I actually implement this, let me see if we're all
> on the same page (Daniel, Joel, Pedro...)
My own view was a little simpler: Delete the target_set_execdir method,
and replace all the calls with a reference to the infrun global. I would
keep the target_set_execdir more or less as is; otherwise, you'll need
some kind of observer to notice when the execdir changes. The
"to_can_go_backwards" is an interesting idea, but in my opinion only
makes sense if the target_set_execdir method is removed. Otherwise,
we can treat target_set_execdir == NULL as cannot-go-backwards.
These are just my opionions, I don't feel strongly about them.
--
Joel