This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/14766] vfork child exit with "set follow-fork-mode child"broken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]