Update mn10300 dwarf register map
authorKevin Buettner <kevinb@redhat.com>
Tue, 4 Feb 2014 04:52:59 +0000 (21:52 -0700)
committerKevin Buettner <kevinb@redhat.com>
Tue, 4 Feb 2014 04:52:59 +0000 (21:52 -0700)
commitc5bb736278be60d6d3c0b49a5772991ba42389d6
tree12940e9b0b9ed74b4fe5e3edba47d9c5d800b48e
parentf3657eed66a46a4c96c9409d8ff3627c5127da96
Update mn10300 dwarf register map

This change updates the mn10300 dwarf register map.  It reduces the
failure count when doing simulator testing against the default
multilib from 788 to 99.

gdb/ChangeLog:

* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
dwarf2_to_gdb[] table using symbolic constants.  Adjust
penultimate entry from number representing the PC register
to symbolic constant representing the MDR register.  Add
constant for the PC register to the end of the table.
gdb/ChangeLog
gdb/mn10300-tdep.c