Turn on dwarf2 unwinding for Renesas RX architecture
authorKevin Buettner <kevinb@redhat.com>
Mon, 29 Jun 2015 15:08:12 +0000 (08:08 -0700)
committerKevin Buettner <kevinb@redhat.com>
Tue, 30 Jun 2015 00:50:43 +0000 (17:50 -0700)
commitfd6e021d8c989905bbb234fdf993799db5a18cb9
treebf3b8f55b492e07ebe4b93c75e869d630f775c7b
parent56b06706ebe6bb3decc674b788b6f5b243b8610d
Turn on dwarf2 unwinding for Renesas RX architecture

This change turns on dwarf2 unwinding in rx-tdep.c.  I found it
necessary to add rx_dwarf_reg_to_regnum in order to cause PC to be
mapped correctly.

gdb/ChangeLog:

* rx-tdep.c (RX_PSW_REGNUM): New enum constant.
(rx_dwarf_reg_to_regnum): New function.
(rx_gdbarch_init): Register rx_dwarf_reg_to_regnum.  Use dwarf2
unwinding.
gdb/ChangeLog
gdb/rx-tdep.c