This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog infcmd.c inferior.h infrun.c ...
- From: msnyder at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 8 Oct 2008 00:26:28 -0000
- Subject: src/gdb ChangeLog infcmd.c inferior.h infrun.c ...
CVSROOT: /cvs/src
Module name: src
Branch: reverse-20080930-branch
Changes by: msnyder@sourceware.org 2008-10-08 00:26:28
Modified files:
gdb : ChangeLog infcmd.c inferior.h infrun.c record.c
record.h remote.c reverse.c target.c target.h
Log message:
2008-10-07 Michael Snyder <msnyder@vmware.com>
* target.h (to_set_exec_direction, to_get_exec_direction): Remove.
(to_can_execute_reverse): New method.
(enum exec_direction_kind): Move to inferior.h.
* target.c (update_current_target): Inherit to_can_execute_reverse.
Remove to_set_exec_direction, to_get_exec_direction.
* inferior.h (enum exec_direction_kind): Move from target.h.
* infrun.c (set_exec_direction_func): Move here from reverse.c.
(show_exec_direction_func): Ditto.
(proceed): Consult global execution_direction instead of
target method.
(handle_inferior_event): Ditto.
* reverse.c (set_exec_direction_func): Move to infrun.c
(show_exec_direction_func): Ditto.
(exec_direction_default): Set infrun global variable.
(exec_reverse_once): Consult infrun global direction variable.
* infcmd.c (step_1): Consult infrun global direction variable.
(step_once): Ditto.
(until_next_command): Ditto.
(finish_command): Ditto.
* record.h (record_exec_direction): Delete.
(RECORD_IS_REPLAY): Consult infrun global direction variable.
* record.c: (record_wait_cleanups): Use infrun state variable.
(record_wait): Ditto.
(record_get_exec_direction, record_set_exec_direction): Remove.
(record_can_execute_reverse): New target method.
* remote.c (remote_resume): Use infrun state variable.
(remote_get_exec_direction, remote_set_exec_direction): Remove.
(remote_can_execute_reverse): New target method.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.9859.2.28&r2=1.9859.2.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.212.2.6&r2=1.212.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/inferior.h.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.108&r2=1.108.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.322.2.10&r2=1.322.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.1.4.5&r2=1.1.4.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record.h.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.1.4.5&r2=1.1.4.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.310.2.3&r2=1.310.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/reverse.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.1.10.5&r2=1.1.10.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.184.2.4&r2=1.184.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.130.2.3&r2=1.130.2.4