I'm having trouble walking through emacs source code in gdb. I think I'm missing debug symbols.
Following a suggestion from https://stackoverflow.com/a/4298982/2752242, I tried:
./configure CFLAGS="-ggdb3 -O0" CXXFLAGS="-ggdb3 -O0" LDFLAGS="-ggdb3" --with-gif=no --prefix=$HOME/local/apps/emacs-24.4/
But, that didn't work.
Are there instructions on compiling with debug symbols? Thanks!