public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.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	[thread overview]
Message-ID: <bug-14766-4717-pAiBffjpXy@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <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.


  parent reply	other threads:[~2012-11-02 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25 15:17 [Bug gdb/14766] New: " palves at redhat dot com
2012-10-25 15:18 ` [Bug gdb/14766] " palves at redhat dot com
2012-10-25 15:19 ` palves at redhat dot com
2012-10-25 17:58 ` palves at redhat dot com
2012-11-02 18:13 ` cvs-commit at gcc dot gnu.org [this message]
2012-11-05 16:39 ` palves at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14766-4717-pAiBffjpXy@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).