summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-11-19 17:13:07 +0000
committerAndreas Schwab <schwab@suse.de>2005-11-19 17:13:07 +0000
commitd73f6ae44aeff4be6a7db4bfba3547f02bf20e31 (patch)
tree45b40c672178c385840cd66cf6145697be3e4093 /src/.gdbinit
parentc4ab19c34a8480c5cc5346204f5f54f9a49a0159 (diff)
downloademacs-d73f6ae44aeff4be6a7db4bfba3547f02bf20e31.tar.gz
(nextcons, xcdr, xfloat): Update for changes in
Lisp_Cons and Lisp_Float.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index d1365d9aefd..5ddd47deeea 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004
+# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
@@ -29,7 +29,7 @@ dir ../lwlib
# This has one unfortunate effect: you can't type C-c
# at the GDB to stop Emacs, when using X.
# However, C-z works just as well in that case.
-handle 2 noprint pass
+#handle 2 noprint pass
# Make it work like SIGINT normally does.
handle SIGTSTP nopass
@@ -628,7 +628,7 @@ Print the contents of $, assuming it is an Emacs Lisp cons.
end
define nextcons
- p $.cdr
+ p $.u.cdr
xcons
end
document nextcons
@@ -648,7 +648,7 @@ end
define xcdr
xgetptr $
xgettype $
- print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->cdr : 0)
+ print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0)
end
document xcdr
Print the cdr of $, assuming it is an Emacs Lisp pair.
@@ -656,7 +656,7 @@ end
define xfloat
xgetptr $
- print ((struct Lisp_Float *) $ptr)->data
+ print ((struct Lisp_Float *) $ptr)->u.data
end
document xfloat
Print $ assuming it is a lisp floating-point number.
@@ -762,7 +762,7 @@ set print sevenbit-strings
show environment DISPLAY
show environment TERM
-set args -geometry 80x40+0+0
+#set args -geometry 80x40+0+0
# Don't let abort actually run, as it will make
# stdio stop working and therefore the `pr' command above as well.