changeset 108101:0d2395808fa3

Fix GDB startup with .gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the definition of "struct Lisp_Symbol".
author Eli Zaretskii <eliz@gnu.org>
date Sat, 24 Apr 2010 10:32:48 +0300
parents d9c182b86800
children 882652fb64a7
files src/.gdbinit src/ChangeLog
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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  <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