This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog infcmd.c inferior.h infrun.c ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	reverse-20080717-branch
Changes by:	msnyder@sourceware.org	2008-10-08 00:26:50

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-20080717-branch&r1=1.9579.2.43&r2=1.9579.2.44
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.195.2.6&r2=1.195.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/inferior.h.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.97.2.1&r2=1.97.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.300.2.16&r2=1.300.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.1.2.19&r2=1.1.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record.h.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.1.2.8&r2=1.1.2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.302.2.3&r2=1.302.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/reverse.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.1.8.5&r2=1.1.8.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.169.2.5&r2=1.169.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&only_with_tag=reverse-20080717-branch&r1=1.126.2.4&r2=1.126.2.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]