]> code.delx.au - gnu-emacs/commitdiff
Fix GDB startup with src/.gdbinit.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Apr 2010 07:36:27 +0000 (10:36 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Apr 2010 07:36:27 +0000 (10:36 +0300)
 .gdbinit: Add a "set Fmake_symbol" line to force GDB 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 e1b07d50a3b403dbcbf3d3b870d167a0cb09ce7b..033a32a0a58fba193c53267a8813f1f4e7ff2c75 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Add a "set Fmake_symbol" line to force GDB load the
+       definition of "struct Lisp_Symbol".
+
 2010-04-24  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (CRT_DIR): New variable, set by configure.