changeset 108100:8cdd7952f894

Fix GDB startup with src/.gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB load the definition of "struct Lisp_Symbol".
author Eli Zaretskii <eliz@gnu.org>
date Sat, 24 Apr 2010 10:36:27 +0300
parents 3040d386675c
children 01ca94871a56
files src/.gdbinit src/ChangeLog
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Fri Apr 23 19:36:43 2010 -0700
+++ b/src/.gdbinit	Sat Apr 24 10:36:27 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 19:36:43 2010 -0700
+++ b/src/ChangeLog	Sat Apr 24 10:36:27 2010 +0300
@@ -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.