# HG changeset patch # User Eli Zaretskii # Date 1272094368 -10800 # Node ID 0d2395808fa3f89e7b1b990d2a5aef559b88067d # Parent d9c182b86800193f59914dc8a31953908f3b1d83 Fix GDB startup with .gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the definition of "struct Lisp_Symbol". diff -r d9c182b86800 -r 0d2395808fa3 src/.gdbinit --- a/src/.gdbinit Fri Apr 23 21:10:31 2010 +0300 +++ b/src/.gdbinit Sat Apr 24 10:32:48 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 d9c182b86800 -r 0d2395808fa3 src/ChangeLog --- a/src/ChangeLog Fri Apr 23 21:10:31 2010 +0300 +++ b/src/ChangeLog Sat Apr 24 10:32:48 2010 +0300 @@ -1,3 +1,8 @@ +2010-04-24 Eli Zaretskii + + * .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the + definition of "struct Lisp_Symbol". + 2010-04-23 Eli Zaretskii * xdisp.c (pop_it): When the stack is popped after displaying