rl78: Create a flags type for the psw register.
authorKevin Buettner <kevinb@redhat.com>
Wed, 1 Jul 2015 23:18:35 +0000 (16:18 -0700)
committerKevin Buettner <kevinb@redhat.com>
Thu, 2 Jul 2015 00:36:36 +0000 (17:36 -0700)
commite62803699d1a722460e8aaa63ef5c99f5580761a
treeaee90a179bed25b1001e35121f924e876752fdd4
parent7d8d1bd943e28623cd188725aa994edf045e54fb
rl78: Create a flags type for the psw register.

For the Renesas rl78 architecture, associate a flags type with the PSW
register. This will cause symbolic flags to be printed when using
the "info registers" command.

gdb/ChangeLog:

* rl78-tdep.c (struct gdbarch_tdep): Add new field, rl78_psw_type.
(rl78_register_type): Add case for RL78_PSW_REGNUM.
(rl78_gdbarch_init): Initialize rl78_psw_type.
gdb/ChangeLog
gdb/rl78-tdep.c