]> git.eshelyaron.com Git - emacs.git/commitdiff
(xint): Use correct mask.
authorKarl Heuer <kwzh@gnu.org>
Wed, 4 Jan 1995 21:28:53 +0000 (21:28 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 4 Jan 1995 21:28:53 +0000 (21:28 +0000)
src/.gdbinit

index 8299b81456403e0b7acebf90e9e192e9dc6bdc69..317db96aa42acf54d4d569e6013b03cfb459db4f 100644 (file)
@@ -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.