This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/14766] vfork child exit with "set follow-fork-mode child"broken
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 02 Nov 2012 18:13:49 +0000
- Subject: [Bug gdb/14766] vfork child exit with "set follow-fork-mode child"broken
- Auto-submitted: auto-generated
- References: <bug-14766-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14766
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-11-02 18:13:49 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2012-11-02 18:13:38
Modified files:
gdb : ChangeLog infrun.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: foll-vfork.exp
Log message:
gdb/
2012-11-02 Pedro Alves <palves@redhat.com>
PR gdb/14766
* infrun.c (handle_inferior_event)
<TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
null_ptid before handling a vfork child exec or exit. Switch to
the event ptid afterwards.
gdb/testsuite/
2012-11-02 Pedro Alves <palves@redhat.com>
PR gdb/14766
* gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
setup_kfail.
(tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
get registers".
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14776&r2=1.14777
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.562&r2=1.563
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3436&r2=1.3437
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/foll-vfork.exp.diff?cvsroot=src&r1=1.25&r2=1.26
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.