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


CVSROOT:	/cvs/src
Module name:	src
Branch: 	msnyder-fork-checkpoint-branch
Changes by:	msnyder@sourceware.org	2005-12-01 02:11:01

Modified files:
	gdb            : ChangeLog linux-fork.c 

Log message:
	2005-11-30  Michael Snyder  <msnyder@redhat.com>
	
	* linux-fork.c (struct fork_info): Add fields for saving
	file offsets of all open file descriptors.
	(free_fork): Free storage for file offsets.
	(call_lseek): New function.  Call lseek in the inferior.
	(fork_save_infrun_state): Use /proc and call_lseek to save
	file offsets for all open file descriptors in inferior.
	(fork_load_infrun_state): Use call_lseek to restore file offsets.
	(restart_command): Fix oversight, save fork id.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=msnyder-fork-checkpoint-branch&r1=1.7446.2.11&r2=1.7446.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linux-fork.c.diff?cvsroot=src&only_with_tag=msnyder-fork-checkpoint-branch&r1=1.1.2.2&r2=1.1.2.3


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