diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-30 23:57:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-30 23:57:19 +0200 |
commit | defd0a4d823c8e2b39f39d2e383aa5ff475f1c96 (patch) | |
tree | 2fdd5283bc54fe447aa44acba385c67279a865f1 | |
parent | Add support for tracing threads (diff) | |
download | sctrace-defd0a4d823c8e2b39f39d2e383aa5ff475f1c96.tar.gz sctrace-defd0a4d823c8e2b39f39d2e383aa5ff475f1c96.tar.bz2 sctrace-defd0a4d823c8e2b39f39d2e383aa5ff475f1c96.tar.xz |
Work around valgrind issue
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | sctrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ main(int argc, char **argv) } /* exec will block until parent attaches */ execvp(*argv, &argv[with_argv0]); - /* TODO on failure, why does it get into a SIGSEGV loop under valgrind? */ + kill(getppid(), SIGKILL); eprintf("execvp %s:", *argv); default: orig_pid = pid; |