Commit 42bf8205 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

* .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS.

(xgetint): Add missing shift for LSB tags.
parent e43042fe
......@@ -54,7 +54,7 @@ end
define xgetint
set $bugfix = $arg0
set $int = gdb_use_union ? $bugfix.s.val : (gdb_use_lsb ? $bugfix : $bugfix << gdb_gctypebits) >> gdb_gctypebits
set $int = gdb_use_union ? $bugfix.s.val : (gdb_use_lsb ? $bugfix >> (gdb_gctypebits - 1) : $bugfix << gdb_gctypebits) >> gdb_gctypebits
end
define xgettype
......@@ -1003,8 +1003,15 @@ end
define xpr
xtype
if $type == Lisp_Int
xint
if gdb_use_union
if $type == Lisp_Int
xint
end
end
if !gdb_use_union
if $type == Lisp_Int0 || $type == Lisp_Int1
xint
end
end
if $type == Lisp_Symbol
xsymbol
......
2012-04-24 Andreas Schwab <schwab@linux-m68k.org>
* .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS.
(xgetint): Add missing shift for LSB tags.
2012-04-24 Martin Rudalics <rudalics@gmx.at>
* keyboard.c (read_char): Don't wipe echo area for select window
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment