From owner-freebsd-ports-bugs@freebsd.org Tue Sep 1 09:12:05 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 220719C7D15 for ; Tue, 1 Sep 2015 09:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E03680F for ; Tue, 1 Sep 2015 09:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t819C4vu028796 for ; Tue, 1 Sep 2015 09:12:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201149] devel/gdb: Add fork tracing Date: Tue, 01 Sep 2015 09:12:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: luca.pizzamiglio@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2015 09:12:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201149 --- Comment #8 from luca.pizzamiglio@gmail.com --- Hi John, the new version you posted works better. but I still have issues running the test case I previously posted here. Sometimes, the child process receives a SIGHUP, sometimes it doesn't. #### case 1 #### Starting program: /home/pizzamig/work/gdb/test/hello-fork/hello-fork [New process 26822] Hello world! Program received signal SIGHUP, Hangup. [Switching to process 26822] 0x0000000800fcd8dc in fork () from /lib/libc.so.7 (gdb) #### case 2 #### Starting program: /home/pizzamig/work/gdb/test/hello-fork/hello-fork [New process 26835] Hello world! [Switching to process 26835] Breakpoint 1, main () at hello-fork.cpp:11 11 cout << "Hello world, I'm the child" << endl; (gdb) c Continuing. Program received signal SIGHUP, Hangup. main () at hello-fork.cpp:11 11 cout << "Hello world, I'm the child" << endl; (gdb) -- You are receiving this mail because: You are the assignee for the bug.