changeset 10336:a76a89bb6c57

(xint): Use correct mask.
author Karl Heuer <kwzh@gnu.org>
date Wed, 04 Jan 1995 21:28:53 +0000
parents 5dbe8355b75b
children 597742bda8b6
files src/.gdbinit
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Wed Jan 04 20:57:31 1995 +0000
+++ b/src/.gdbinit	Wed Jan 04 21:28:53 1995 +0000
@@ -51,7 +51,7 @@
 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.