src/gdb ChangeLog linux-fork.c
<msnyder <at> sourceware.org>
2005-12-01 02:11:01 GMT
CVSROOT: /cvs/src
Module name: src
Branch: msnyder-fork-checkpoint-branch
Changes by: msnyder <at> sourceware.org 2005-12-01 02:11:01
Modified files:
gdb : ChangeLog linux-fork.c
Log message:
2005-11-30 Michael Snyder <msnyder <at> 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