summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-01-04 21:28:53 +0000
committerKarl Heuer <kwzh@gnu.org>1995-01-04 21:28:53 +0000
commit5148e25095579832af5c480f3d71e3fa6ab94bb2 (patch)
tree898055a666b59ae36b1e7abb89d4a2c3a554968a
parent0651f3dde1de4397d5f14b6ce221d6a5b30df968 (diff)
downloademacs-5148e25095579832af5c480f3d71e3fa6ab94bb2.tar.gz
(xint): Use correct mask.
-rw-r--r--src/.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 8299b814564..317db96aa42 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -51,7 +51,7 @@ Print the specific type of $, assuming it is some misc type.
end
define xint
-print (($ & 0x00ffffff) << 4) >> 4
+print (($ & 0x0fffffff) << 4) >> 4
end
document xint
Print $, assuming it is an Emacs Lisp integer. This gets the sign right.