Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 2015 09:12:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201149] devel/gdb: Add fork tracing
Message-ID:  <bug-201149-13-Let8xaQaRC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201149-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201149-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201149-13-Let8xaQaRC>