From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32028 invoked by alias); 2 Nov 2012 18:13:53 -0000 Received: (qmail 32006 invoked by uid 55); 2 Nov 2012 18:13:51 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/14766] vfork child exit with "set follow-fork-mode child" broken Date: Fri, 02 Nov 2012 18:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: palves at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00172.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14766 --- Comment #3 from 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 PR gdb/14766 * infrun.c (handle_inferior_event) : 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 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.