This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog inf-ttrace.c
- From: kettenis at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 20 Jul 2005 13:25:33 -0000
- Subject: src/gdb ChangeLog inf-ttrace.c
CVSROOT: /cvs/src
Module name: src
Changes by: kettenis@sourceware.org 2005-07-20 13:25:30
Modified files:
gdb : ChangeLog inf-ttrace.c
Log message:
* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.
(inf_ttrace_follow_fork): New function.
(inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and
TTEVT_VFORK events. Replace TTEO_NOSTRCHLD option with
TTEO_PROC_INHERIT.
(inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for
inf_ttrace_vfork_ppid.
(inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting
parent if appropriate.
(inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK.
(inf_ttrace_target): Set to_follow_fork.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.7283&r2=1.7284
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/inf-ttrace.c.diff?cvsroot=src&r1=1.11&r2=1.12