rx: Create and use flags types for psw, bpsw, and fpsw registers.
authorKevin Buettner <kevinb@redhat.com>
Thu, 2 Jul 2015 22:02:56 +0000 (15:02 -0700)
committerKevin Buettner <kevinb@redhat.com>
Thu, 2 Jul 2015 22:26:51 +0000 (15:26 -0700)
commit0561fea48c107b271308a013c485c29cbd5c13b5
tree44a9622b1c0b4cd837d1c8d4fd4127a24d64c17c
parentdecf8d9a5f91912768d52cd075b6a25617a90d1c
rx: Create and use flags types for psw, bpsw, and fpsw registers.

This change adds two flags types for the (Renesas RX) psw, bpsw, and
fpsw registers.  As a result, symbolic flags are displayed for these
registers in the output of GDB's "info registers" command as well as
in output from other commands, such as "print".

gdb/ChangeLog:

* rx-tdep.c (RX_BPSW_REGNUM, RX_FPSW_REGNUM): New constants.
(struct gdbarch_tdep): Add fields rx_psw_type and rx_fpsw_type.
(rx_register_type): Add cases for RX_PSW_REGNUM, RX_BPSW_REGNUM,
and RX_FPSW_REGNUM.
(rx_gdbarch_init): Initialize PSW, BPSW, and FPSW flags types.
gdb/ChangeLog
gdb/rx-tdep.c
This page took 0.025343 seconds and 4 git commands to generate.