diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 13 | ||||
| -rw-r--r-- | src/ChangeLog | 5 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 7cd828733b1..13eca902d88 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -54,7 +54,7 @@ end | |||
| 54 | 54 | ||
| 55 | define xgetint | 55 | define xgetint |
| 56 | set $bugfix = $arg0 | 56 | set $bugfix = $arg0 |
| 57 | set $int = gdb_use_union ? $bugfix.s.val : (gdb_use_lsb ? $bugfix : $bugfix << gdb_gctypebits) >> gdb_gctypebits | 57 | set $int = gdb_use_union ? $bugfix.s.val : (gdb_use_lsb ? $bugfix >> (gdb_gctypebits - 1) : $bugfix << gdb_gctypebits) >> gdb_gctypebits |
| 58 | end | 58 | end |
| 59 | 59 | ||
| 60 | define xgettype | 60 | define xgettype |
| @@ -1003,8 +1003,15 @@ end | |||
| 1003 | 1003 | ||
| 1004 | define xpr | 1004 | define xpr |
| 1005 | xtype | 1005 | xtype |
| 1006 | if $type == Lisp_Int | 1006 | if gdb_use_union |
| 1007 | xint | 1007 | if $type == Lisp_Int |
| 1008 | xint | ||
| 1009 | end | ||
| 1010 | end | ||
| 1011 | if !gdb_use_union | ||
| 1012 | if $type == Lisp_Int0 || $type == Lisp_Int1 | ||
| 1013 | xint | ||
| 1014 | end | ||
| 1008 | end | 1015 | end |
| 1009 | if $type == Lisp_Symbol | 1016 | if $type == Lisp_Symbol |
| 1010 | xsymbol | 1017 | xsymbol |
diff --git a/src/ChangeLog b/src/ChangeLog index 3fccf8cc439..06d65c7bf33 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-24 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS. | ||
| 4 | (xgetint): Add missing shift for LSB tags. | ||
| 5 | |||
| 1 | 2012-04-24 Martin Rudalics <rudalics@gmx.at> | 6 | 2012-04-24 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * keyboard.c (read_char): Don't wipe echo area for select window | 8 | * keyboard.c (read_char): Don't wipe echo area for select window |