public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17093] New: follow-fork child, infcall that forks broken
@ 2014-06-26 12:43 palves at redhat dot com
0 siblings, 0 replies; only message in thread
From: palves at redhat dot com @ 2014-06-26 12:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17093
Bug ID: 17093
Summary: follow-fork child, infcall that forks broken
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
$ ./gdb ~/gdb/tests/main
...
GNU gdb (GDB) 7.8.50.20140626-cvs
...
(gdb) start
Temporary breakpoint 1 at 0x4004cf: file main.c, line 5.
Starting program: /home/pedro/gdb/tests/main
Temporary breakpoint 1, main (argc=1, argv=0x7fffffffd928) at main.c:5
5 return 0;
(gdb) set follow-fork-mode child
(gdb) set detach-on-fork off
(gdb) p fork ()
[New process 1887]
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 1887]
<function called from gdb>
The program received a signal in another thread while
making a function call from GDB.
Evaluation of the expression containing the function
(__libc_fork) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-26 12:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26 12:43 [Bug gdb/17093] New: follow-fork child, infcall that forks broken palves at redhat dot com
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).