From: Simon Marchi Date: Tue, 25 Apr 2023 18:31:24 +0000 (-0400) Subject: jjb: binutils-gdb: build with debug info X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f561bfa091324d53901386cf782cc74ed455effb;p=lttng-ci.git jjb: binutils-gdb: build with debug info This makes the stack traces that GDB shows when it aborts a bit more informative. Change-Id: I52dd433574da35d130978bc95f2c6aa7aa029845 --- diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index 43ea6e9..61fe515 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -155,8 +155,8 @@ rm -rf "$TMPDIR" mkdir -p "$TMPDIR" export TMPDIR -export CFLAGS="-O2 -fsanitize=address" -export CXXFLAGS="-O2 -fsanitize=address -D_GLIBCXX_DEBUG=1" +export CFLAGS="-O2 -g -fsanitize=address" +export CXXFLAGS="-O2 -g -fsanitize=address -D_GLIBCXX_DEBUG=1" export LDFLAGS="-fsanitize=address" export CC="ccache cc" export CXX="ccache c++"