diff options
| author | Paul Eggert | 2012-06-13 21:02:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-13 21:02:35 -0700 |
| commit | e93864f9436cf1718bc9ae2c1b707e931f95c9df (patch) | |
| tree | 764883cca4df54f613e2de1af707e10ba1d13d4e /src | |
| parent | 2b5701247845a07e4a279abc8c3acaf75cbc8a1b (diff) | |
| download | emacs-e93864f9436cf1718bc9ae2c1b707e931f95c9df.tar.gz emacs-e93864f9436cf1718bc9ae2c1b707e931f95c9df.zip | |
.gdbinit: Update to match recent lisp.h changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index df3a9cd7124..1db25324ea0 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -60,7 +60,7 @@ define xgetint | |||
| 60 | if gdb_use_struct | 60 | if gdb_use_struct |
| 61 | set $bugfix = $bugfix.i | 61 | set $bugfix = $bugfix.i |
| 62 | end | 62 | end |
| 63 | set $int = gdb_use_lsb ? $bugfix >> (gdb_gctypebits - 1) : $bugfix << gdb_gctypebits) >> gdb_gctypebits | 63 | set $int = gdb_use_lsb ? $bugfix >> (gdb_gctypebits - 1) : $bugfix << (gdb_gctypebits - 1) >> (gdb_gctypebits - 1) |
| 64 | end | 64 | end |
| 65 | 65 | ||
| 66 | define xgettype | 66 | define xgettype |
| @@ -1189,7 +1189,7 @@ define hookpost-backtrace | |||
| 1189 | end | 1189 | end |
| 1190 | 1190 | ||
| 1191 | define xreload | 1191 | define xreload |
| 1192 | set $tagmask = (((long)1 << gdb_gctypebits) - 1) | 1192 | set $tagmask = ((1 << gdb_gctypebits) - 1) |
| 1193 | # The consing_since_gc business widens the 1 to EMACS_INT, | 1193 | # The consing_since_gc business widens the 1 to EMACS_INT, |
| 1194 | # a symbol not directly visible to GDB. | 1194 | # a symbol not directly visible to GDB. |
| 1195 | set $valmask = gdb_use_lsb ? ~($tagmask) : ((consing_since_gc - consing_since_gc + 1) << gdb_valbits) - 1 | 1195 | set $valmask = gdb_use_lsb ? ~($tagmask) : ((consing_since_gc - consing_since_gc + 1) << gdb_valbits) - 1 |
diff --git a/src/ChangeLog b/src/ChangeLog index e5e0c199026..416b74c9f68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2012-06-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-06-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * .gdbinit (xgetint): Fix recently-introduced paren typo. | ||
| 4 | Assume USE_2_TAGS_FOR_INTS. | ||
| 5 | (xreload): Adjust $tagmask width to match recent lisp.h change. | ||
| 6 | |||
| 3 | Simplify lisp.h in minor ways that should not affect code. | 7 | Simplify lisp.h in minor ways that should not affect code. |
| 4 | * lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined. | 8 | * lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined. |
| 5 | (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P) | 9 | (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P) |