FreeBSD Bugzilla – Attachment 158906 Details for
Bug 201149
devel/gdb: Add fork tracing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case that cause a crash
hello-fork.cpp (text/plain), 230 bytes, created by
luca.pizzamiglio
on 2015-07-17 09:58:25 UTC
(
hide
)
Description:
Test case that cause a crash
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2015-07-17 09:58:25 UTC
Size:
230 bytes
patch
obsolete
>#include <iostream> >#include <unistd.h> > >using namespace std; > >int main() >{ > pid_t pid; > pid = fork(); > if ( pid == 0 ) { > cout << "Hello world, I'm the child" << endl; > } else { > cout << "Hello world!" << endl; > } > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201149
: 158906 |
160637