This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog linux-fork.c
- From: msnyder at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 1 Dec 2005 02:11:01 -0000
- Subject: 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