Changeset 7776
- Timestamp:
- Dec 17, 2010, 8:26:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network5/src/libraries/util/SignalHandler.cc
r7775 r7776 37 37 #include <cstdlib> 38 38 #include <cstring> 39 #include <sys/prctl.h>40 39 41 40 #include "Debug.h" … … 52 51 #include <X11/Xutil.h> 53 52 #include <X11/keysym.h> 53 #include <sys/prctl.h> 54 54 55 55 namespace orxonox … … 203 203 204 204 // make sure gdb is allowed to attach to our PID even if there are some system restrictions 205 #ifdef PR_SET_PTRACER 205 206 if( prctl(PR_SET_PTRACER, gdbPid, 0, 0, 0) == -1 ) 206 207 COUT(0) << "could not set proper permissions for GDB to attach to process..." << endl; 208 #endif 207 209 208 210 // wait for message from parent when it has attached gdb
Note: See TracChangeset
for help on using the changeset viewer.