The -rdynamic flag provides the information required to produce more meaningful stack traces.
Signed-off-by: Zachary T Welch <z...@superlucidity.net> --- configure.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index 81e4326..224e1b3 100644 --- a/configure.in +++ b/configure.in @@ -1082,6 +1082,8 @@ if test $gcc_warnings = yes; then CFLAGS="$CFLAGS $GCC_WARNINGS" fi +CFLAGS="${CFLAGS} -rdynamic" + # Setup for compiling build tools AC_MSG_CHECKING([for a C compiler for build tools]) if test $cross_compiling = yes; then -- 1.6.4.4 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development