diff options
| author | Andreas Schwab | 2005-11-19 17:13:07 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2005-11-19 17:13:07 +0000 |
| commit | b4483658c52c40ec393697d0b4d2fcce8b875859 (patch) | |
| tree | ff2e335be0f7062919dfeb89790e3ae94bbe6f5b /src | |
| parent | da49096f064057ea082a522fd2688048602c4289 (diff) | |
| download | emacs-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/.gdbinit | 12 |
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. |
| 32 | handle 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. |
| 35 | handle SIGTSTP nopass | 35 | handle SIGTSTP nopass |
| @@ -628,7 +628,7 @@ Print the contents of $, assuming it is an Emacs Lisp cons. | |||
| 628 | end | 628 | end |
| 629 | 629 | ||
| 630 | define nextcons | 630 | define nextcons |
| 631 | p $.cdr | 631 | p $.u.cdr |
| 632 | xcons | 632 | xcons |
| 633 | end | 633 | end |
| 634 | document nextcons | 634 | document nextcons |
| @@ -648,7 +648,7 @@ end | |||
| 648 | define xcdr | 648 | define 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) |
| 652 | end | 652 | end |
| 653 | document xcdr | 653 | document xcdr |
| 654 | Print the cdr of $, assuming it is an Emacs Lisp pair. | 654 | Print the cdr of $, assuming it is an Emacs Lisp pair. |
| @@ -656,7 +656,7 @@ end | |||
| 656 | 656 | ||
| 657 | define xfloat | 657 | define xfloat |
| 658 | xgetptr $ | 658 | xgetptr $ |
| 659 | print ((struct Lisp_Float *) $ptr)->data | 659 | print ((struct Lisp_Float *) $ptr)->u.data |
| 660 | end | 660 | end |
| 661 | document xfloat | 661 | document xfloat |
| 662 | Print $ assuming it is a lisp floating-point number. | 662 | Print $ assuming it is a lisp floating-point number. |
| @@ -762,7 +762,7 @@ set print sevenbit-strings | |||
| 762 | 762 | ||
| 763 | show environment DISPLAY | 763 | show environment DISPLAY |
| 764 | show environment TERM | 764 | show environment TERM |
| 765 | set 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. |