This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in breakpoint.c bre ...
- From: msnyder at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Jun 2008 02:11:19 -0000
- Subject: src/gdb ChangeLog Makefile.in breakpoint.c bre ...
CVSROOT: /cvs/src
Module name: src
Branch: msnyder-reverse-20080609-branch
Changes by: msnyder@sourceware.org 2008-06-10 02:11:19
Modified files:
gdb : ChangeLog Makefile.in breakpoint.c breakpoint.h
infcmd.c infrun.c remote.c target.c target.h
gdb/doc : gdb.texinfo
Added files:
gdb : reverse.c
Log message:
Reverse execution branch
2008-06-09 Michael Snyder <msnyder@specifix.com>
2006-05-02 Michael Snyder <msnyder@redhat.com>
* Target interface for reverse execution.
* target.h (enum target_waitkind):
Add new wait event, TARGET_WAITKIND_NO_HISTORY.
(enum exec_direction_kind): New enum.
(struct target_ops): New methods to_set_execdir, to_get_execdir.
* target.c (target_get_execdir): New generic method.
(target_set_execdir): Ditto.
* remote.c (remote_get_execdir, remote_set_execdir): New methods.
(remote_vcont_resume): Jump out if attempting reverse execution.
(remote_resume): Check for reverse exec direction, and send
appropriate command to target.
(remote_wait): Check target response for NO_HISTORY status.
Also check for empty reply (target doesn't understand "bs" or "bc).
(_initialize_remote): Add new methods to remote target vector.
* breakpoint.h (breakpoint_silence): Export.
* breakpoint.c (breakpoint_silence): New function.
* infcmd.c (finish_command): Check for reverse exec direction.
(finish_backward): New function, handle finish cmd in reverse.
* infrun.c (enum inferior_stop_reason): Add NO_HISTORY reason.
(handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY.
Handle stepping over a function call in reverse.
Handle stepping thru a line range in reverse.
Handle setting a step-resume breakpoint in reverse.
Handle stepping into a function in reverse.
Handle stepping between line ranges in reverse.
(print_stop_reason): Print reason for NO_HISTORY.
2006-03-31 Michael Snyder <msnyder@redhat.com>
User interface for reverse execution.
* Makefile.in (reverse.c): New file.
* reverse.c: New file. User interface for reverse execution.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/reverse.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=NONE&r2=1.1.6.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.9466&r2=1.9466.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.1026&r2=1.1026.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.324&r2=1.324.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.72&r2=1.72.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.183&r2=1.183.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.278&r2=1.278.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.296&r2=1.296.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.163&r2=1.163.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.121&r2=1.121.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&only_with_tag=msnyder-reverse-20080609-branch&r1=1.503&r2=1.503.2.1