2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 08:35:31 +00:00

Merge branch '2224-fixup-core-back-traces' into 'main'

Resolve "Fixup core back traces."

Closes #2224

See merge request isc-projects/bind9!4279
This commit is contained in:
Michal Nowak
2020-11-26 17:03:43 +00:00

View File

@@ -196,7 +196,6 @@ then
echoend "E:$systest:$(date_with_args)" echoend "E:$systest:$(date_with_args)"
exit 1 exit 1
fi fi
fi fi
# Set up any dynamically generated test data # Set up any dynamically generated test data
@@ -276,7 +275,7 @@ if [ -n "$core_dumps" ]; then
-- \ -- \
"$binary" 2>/dev/null | sed -n '/^Core was generated by/,$p' | cat_d "$binary" 2>/dev/null | sed -n '/^Core was generated by/,$p' | cat_d
echoinfo "D:$systest:--------------------------------------------------------------------------------" echoinfo "D:$systest:--------------------------------------------------------------------------------"
coredump_backtrace=$(basename "${coredump}")-backtrace.txt coredump_backtrace="${coredump}-backtrace.txt"
echoinfo "D:$systest:full backtrace from $coredump saved in $coredump_backtrace" echoinfo "D:$systest:full backtrace from $coredump saved in $coredump_backtrace"
"${top_builddir}/libtool" --mode=execute gdb \ "${top_builddir}/libtool" --mode=execute gdb \
-batch \ -batch \