Opened 15 years ago
Closed 15 years ago
#4642 closed enhancement (fixed)
disable_debugger() flag isn't passed on to forked children
Reported by: | augiedoggie | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I'm not sure if this was a design decision or if it is just a bug/missing feature. I would like to be able to call disable_debugger() before a fork()/execvp() and have the debugger disabled for the child process also.
Attachments (1)
Change History (4)
comment:1 by , 15 years ago
Version: | R1/alpha1 |
---|
by , 15 years ago
Attachment: | fork_test.zip added |
---|
comment:2 by , 15 years ago
I attached some sample code which illustrates what I'm looking for. I should note that this isn't for me. My code never crashes :)
This is actually for the CMake developers. CMake includes a test runner called 'ctest'. They want to be able to call disable_debugger() inside of ctest and have that passed on to the program being tested. They are already doing something like this for windows(apparently windows passes on this attribute to the children).
Test Code