aboutsummaryrefslogtreecommitdiffstats
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2010-04-24 10:36:27 +0300
committerEli Zaretskii <[email protected]>2010-04-24 10:36:27 +0300
commit2d4018aa48efa359bcc5cce63d9335204ce53ff9 (patch)
treeb6c21c1442d0244aa50144cbdc5987caf9ecd586 /src/.gdbinit
parentcbcfee6ef444ccb578b31417a836e9de98d566ba (diff)
Fix GDB startup with src/.gdbinit.
.gdbinit: Add a "set Fmake_symbol" line to force GDB load the definition of "struct Lisp_Symbol".
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 32b3827b22..5ecdaa4a57 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