add option --T_dont_fork to tracee (lte-softmodem, oaisim)
The T has 2 processes: the tracee and the local tracer if the tracee dies (segfault or whatever) the tracee may still be running. So there is a third process that monitors those two others and kill everything when one dies. The problem is that this third process has to be the parent of the two others. That makes debugging the tracee with gdb impossible. This new option disables the third monitor process.
This commit is contained in:
+1
-1
@@ -562,7 +562,7 @@ extern T_cache_t *T_cache;
|
||||
|
||||
extern int *T_active;
|
||||
|
||||
void T_init(int remote_port, int wait_for_tracer);
|
||||
void T_init(int remote_port, int wait_for_tracer, int dont_fork);
|
||||
|
||||
#else /* T_TRACER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user