From: Eli Zaretskii Date: Sat, 24 Apr 2010 07:32:48 +0000 (+0300) Subject: Fix GDB startup with .gdbinit. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~398^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76db6fccee00ddc2584cbe6f0cdcd0bb11e884f6;p=emacs.git Fix GDB startup with .gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the definition of "struct Lisp_Symbol". --- diff --git a/src/.gdbinit b/src/.gdbinit index 32b3827b22d..5ecdaa4a572 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -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 --git a/src/ChangeLog b/src/ChangeLog index f5f6e8c4421..66fc3c1546b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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