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
commitb4483658c52c40ec393697d0b4d2fcce8b875859 (patch)
treeff2e335be0f7062919dfeb89790e3ae94bbe6f5b /src/.gdbinit
parentda49096f064057ea082a522fd2688048602c4289 (diff)
downloademacs-b4483658c52c40ec393697d0b4d2fcce8b875859.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.