Fix amd64 dwarf register number mapping (MMX register and higher)
authorPierre Muller <muller@sourceware.org>
Fri, 28 Nov 2014 15:21:58 +0000 (19:21 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 28 Nov 2014 15:30:43 +0000 (19:30 +0400)
commitf7ca3fcfccd144c234370aa939e4f5f15f3b2a88
tree3fec6f3c4b5b6a0331b60d49a74b662ce426e513
parentb2859a9a54fcc824c3ed7948767d095c02570a19
Fix amd64 dwarf register number mapping (MMX register and higher)

Dwarf register numbers are defined in "System V Application Binary
Interface AMD64 Architecture Processor Supplement Draft Version 0.99.6"

The amd64_dwarf_regmap array is missing the 8 MMX registers in Figure
3.36: DWARF Register Number Mapping page 57.  This leads to a wrong
value for the registers past this point.

gdb/ChangeLog:

        Pushed by Joel Brobecker  <brobecker@adacore.com>.
        * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX
        registers.

Tested on x86_64-linux.
gdb/ChangeLog
gdb/amd64-tdep.c