diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-05-20 12:55:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-05-21 23:58:15 +0200 |
commit | ea980f3de1da84de730541217bd497a4d3bb3642 (patch) | |
tree | c7a2a80a671b73884004aca1ebf7c13ed9f474f2 /solenv | |
parent | 2589d545ec099c7b670b185d06fbf9ca841fb748 (diff) |
solenv: if RR is set, skip gdb backtrace, since it's recorded already
Change-Id: I3a393e91d392c3cc572c46e94d7ea7bb1205c0c3
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/gdb-core-bt.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/bin/gdb-core-bt.sh b/solenv/bin/gdb-core-bt.sh index dba100e2482d..e3965f5aed07 100755 --- a/solenv/bin/gdb-core-bt.sh +++ b/solenv/bin/gdb-core-bt.sh @@ -20,6 +20,10 @@ then COREFILE=$(ls "$COREDIR"/core*) echo echo "It looks like ${EXECUTABLE} generated a core file at ${COREFILE}" + if test -n "$RR"; then + echo "rr is recording, skipping gdb backtrace generation" + exit 0 + fi echo "Backtraces:" GDBCOMMANDFILE=$(mktemp) echo "thread apply all backtrace full" > "$GDBCOMMANDFILE" |