diff --git a/common/utils.sh b/common/utils.sh index 5eb02486..49919d64 100644 --- a/common/utils.sh +++ b/common/utils.sh @@ -380,7 +380,7 @@ coredumpctl_collect() { # trace and other useful info while read -r path; do local exe - local gdb_cmd="bt full\nquit" + local gdb_cmd="bt full" _log "Collecting coredumps for '$path'" "$coredumpctl_bin" "${args[@]}" info "$path" @@ -395,7 +395,7 @@ coredumpctl_collect() { # $BUILD_DIR is set and we found the binary in it, let's override # the gdb command exe="$BUILD_DIR/${path##*/}" - gdb_cmd="file $exe\nthread apply all bt\nbt full\nquit" + gdb_cmd="file $exe\nthread apply all bt\nbt full" _log "\$BUILD_DIR is set and '${path##*/}' was found in it" _log "Overriding the executable to '$exe' and gdb command to '$gdb_cmd'" fi