summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-31 00:55:50 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-31 00:55:50 +0000
commit0bb0dcbdb09c3fe3f9c99df687e1631111f2f6a6 (patch)
treed115c3d6123aedc782eec3b979f9b69766daf4ac /src/.gdbinit
parentb518ba38588488aec461d14a8150580a12381fa1 (diff)
downloademacs-0bb0dcbdb09c3fe3f9c99df687e1631111f2f6a6.tar.gz
Do `set main' to make gdb_valbits etc. available.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 9d2f4224c9a..87e3c2824d6 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -1,5 +1,8 @@
# Set up a mask to use.
+# Force loading of symbols, enough to give us gdb_valbits etc.
+set main
+
# This should be EMACS_INT, but in some cases that is a macro.
# long ought to work in all cases right now.
set $valmask = ((long)1 << gdb_valbits) - 1