mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
Fix a typo in rx_fpsw_type
gdb: 2017-04-13 Yao Qi <yao.qi@linaro.org> * rx-tdep.c (rx_fpsw_type): Check tdep->rx_fpsw_type instead of tdep->rx_psw_type.
This commit is contained in:
parent
e6ddc3bfed
commit
ad3d022a77
@ -1,3 +1,8 @@
|
|||||||
|
2017-04-13 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* rx-tdep.c (rx_fpsw_type): Check tdep->rx_fpsw_type instead of
|
||||||
|
tdep->rx_psw_type.
|
||||||
|
|
||||||
2017-04-13 Yao Qi <yao.qi@linaro.org>
|
2017-04-13 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* rl78-tdep.c (rl78_gdbarch_init): Use XCNEW instead of XNEW.
|
* rl78-tdep.c (rl78_gdbarch_init): Use XCNEW instead of XNEW.
|
||||||
|
@ -182,7 +182,7 @@ rx_fpsw_type (struct gdbarch *gdbarch)
|
|||||||
{
|
{
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||||
|
|
||||||
if (tdep->rx_psw_type == NULL)
|
if (tdep->rx_fpsw_type == NULL)
|
||||||
{
|
{
|
||||||
tdep->rx_fpsw_type = arch_flags_type (gdbarch, "rx_fpsw_type", 4);
|
tdep->rx_fpsw_type = arch_flags_type (gdbarch, "rx_fpsw_type", 4);
|
||||||
append_flags_type_flag (tdep->rx_fpsw_type, 0, "RM0");
|
append_flags_type_flag (tdep->rx_fpsw_type, 0, "RM0");
|
||||||
|
Loading…
Reference in New Issue
Block a user