aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2005-11-19 17:13:07 +0000
committerAndreas Schwab2005-11-19 17:13:07 +0000
commitb4483658c52c40ec393697d0b4d2fcce8b875859 (patch)
treeff2e335be0f7062919dfeb89790e3ae94bbe6f5b /src
parentda49096f064057ea082a522fd2688048602c4289 (diff)
downloademacs-b4483658c52c40ec393697d0b4d2fcce8b875859.tar.gz
emacs-b4483658c52c40ec393697d0b4d2fcce8b875859.zip
(nextcons, xcdr, xfloat): Update for changes in
Lisp_Cons and Lisp_Float.
Diffstat (limited to 'src')
-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 @@
1# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004 1# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004, 2005
2# Free Software Foundation, Inc. 2# Free Software Foundation, Inc.
3# 3#
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
@@ -29,7 +29,7 @@ dir ../lwlib
29# This has one unfortunate effect: you can't type C-c 29# This has one unfortunate effect: you can't type C-c
30# at the GDB to stop Emacs, when using X. 30# at the GDB to stop Emacs, when using X.
31# However, C-z works just as well in that case. 31# However, C-z works just as well in that case.
32handle 2 noprint pass 32#handle 2 noprint pass
33 33
34# Make it work like SIGINT normally does. 34# Make it work like SIGINT normally does.
35handle SIGTSTP nopass 35handle SIGTSTP nopass
@@ -628,7 +628,7 @@ Print the contents of $, assuming it is an Emacs Lisp cons.
628end 628end
629 629
630define nextcons 630define nextcons
631 p $.cdr 631 p $.u.cdr
632 xcons 632 xcons
633end 633end
634document nextcons 634document nextcons
@@ -648,7 +648,7 @@ end
648define xcdr 648define xcdr
649 xgetptr $ 649 xgetptr $
650 xgettype $ 650 xgettype $
651 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->cdr : 0) 651 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0)
652end 652end
653document xcdr 653document xcdr
654Print the cdr of $, assuming it is an Emacs Lisp pair. 654Print the cdr of $, assuming it is an Emacs Lisp pair.
@@ -656,7 +656,7 @@ end
656 656
657define xfloat 657define xfloat
658 xgetptr $ 658 xgetptr $
659 print ((struct Lisp_Float *) $ptr)->data 659 print ((struct Lisp_Float *) $ptr)->u.data
660end 660end
661document xfloat 661document xfloat
662Print $ assuming it is a lisp floating-point number. 662Print $ assuming it is a lisp floating-point number.
@@ -762,7 +762,7 @@ set print sevenbit-strings
762 762
763show environment DISPLAY 763show environment DISPLAY
764show environment TERM 764show environment TERM
765set args -geometry 80x40+0+0 765#set args -geometry 80x40+0+0
766 766
767# Don't let abort actually run, as it will make 767# Don't let abort actually run, as it will make
768# stdio stop working and therefore the `pr' command above as well. 768# stdio stop working and therefore the `pr' command above as well.