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 checkpoint.c linux-fork.c re ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	msnyder-checkpoint-072509-branch
Changes by:	msnyder@sourceware.org	2009-07-27 02:23:53

Modified files:
	gdb            : ChangeLog checkpoint.c linux-fork.c record.c 
	                 target.h 

Log message:
	2009-07-26  Michael Snyder  <msnyder@vmware.com>
	
	Nearly working.
	
	* target.h (struct target_ops): Change func args of
	checkpoint methods.
	
	checkpoint.c (checkpoint_command): Use target method,
	bail if it isn't implemented.
	(delete_checkpoint_command): Ditto.
	(info_checkpoints_command): Ditto.
	(restart_command): Ditto.
	
	linux-fork.c (fork_list): Delete, use checkpoint list instead.
	(forks_exist_p): Check checkpoint list instead of fork_list.
	(delete_fork): Ditto.
	(find_fork_ptid): Ditto.
	(find_fork_id): Ditto.
	(find_fork_pid): Ditto.
	(add_fork): Ditto.
	(linux_fork_killall): Ditto.
	(linux_fork_mourn_inferior): Ditto.
	(linux_fork_detach): Ditto.
	(init_fork_list): Delete, no longer needed.
	(delete_checkpoint_command): Ditto.
	(info_checkpoints_command): Ditto.
	(checkpoint_command): Ditto.
	(restart_command): Ditto.
	(linux_unset_checkpoint): New function (target method).
	(linux_show_checkpoints_info): Ditto.
	(linux_set_checkpoint): Ditto.
	(linux_restore_checkpoint): Ditto.
	(_initialize_linux_fork): Use new target methods.
	
	* record.c (init_record_ops): Use new target methods.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=msnyder-checkpoint-072509-branch&r1=1.10747.2.4&r2=1.10747.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/checkpoint.c.diff?cvsroot=src&only_with_tag=msnyder-checkpoint-072509-branch&r1=1.1.2.2&r2=1.1.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linux-fork.c.diff?cvsroot=src&only_with_tag=msnyder-checkpoint-072509-branch&r1=1.29.2.1&r2=1.29.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/record.c.diff?cvsroot=src&only_with_tag=msnyder-checkpoint-072509-branch&r1=1.9.2.1&r2=1.9.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&only_with_tag=msnyder-checkpoint-072509-branch&r1=1.161.2.1&r2=1.161.2.2


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