# HG changeset patch # User Eli Zaretskii # Date 1272094587 -10800 # Node ID 8cdd7952f894575b7a0511869f46ea613e7c3ad9 # Parent 3040d386675c4647ade79a6649fea978e19e2599 Fix GDB startup with src/.gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB load the definition of "struct Lisp_Symbol". diff -r 3040d386675c -r 8cdd7952f894 src/.gdbinit --- a/src/.gdbinit Fri Apr 23 19:36:43 2010 -0700 +++ b/src/.gdbinit Sat Apr 24 10:36:27 2010 +0300 @@ -21,6 +21,8 @@ # Force loading of symbols, enough to give us gdb_valbits etc. set main +# With some compilers, we need this to give us struct Lisp_Symbol etc.: +set Fmake_symbol # Find lwlib source files too. dir ../lwlib diff -r 3040d386675c -r 8cdd7952f894 src/ChangeLog --- a/src/ChangeLog Fri Apr 23 19:36:43 2010 -0700 +++ b/src/ChangeLog Sat Apr 24 10:36:27 2010 +0300 @@ -1,3 +1,8 @@ +2010-04-24 Eli Zaretskii + + * .gdbinit: Add a "set Fmake_symbol" line to force GDB load the + definition of "struct Lisp_Symbol". + 2010-04-24 Glenn Morris * Makefile.in (CRT_DIR): New variable, set by configure.