]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix GDB startup with .gdbinit.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Apr 2010 07:32:48 +0000 (10:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Apr 2010 07:32:48 +0000 (10:32 +0300)
 .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
 definition of "struct Lisp_Symbol".

src/.gdbinit
src/ChangeLog

index 32b3827b22d79e39af564c03b24b479a794f4017..5ecdaa4a572809d0cd6acd7b84e38366fbc42434 100644 (file)
@@ -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
index f5f6e8c4421cbeda7a322487bd5036be82b22b3d..66fc3c1546be2d317818248a2a3d0cd6b52d641e 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
+       definition of "struct Lisp_Symbol".
+
 2010-04-23  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (pop_it): When the stack is popped after displaying