diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-04-13 08:29:44 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-04-13 08:29:44 +0100 |
commit | ad3d022a77afdbaba4bb36ff4aa99be52892de42 (patch) | |
tree | 1c99e2ac115766ad750f7415a10353efc6e35c15 /gdb/rx-tdep.c | |
parent | e6ddc3bfedb4665c9d4baa2c85037af25167cdf3 (diff) | |
download | binutils-gdb-ad3d022a77afdbaba4bb36ff4aa99be52892de42.tar.gz |
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.
Diffstat (limited to 'gdb/rx-tdep.c')
-rw-r--r-- | gdb/rx-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 1a3d103faae..83bb3ec1317 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -182,7 +182,7 @@ rx_fpsw_type (struct gdbarch *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); append_flags_type_flag (tdep->rx_fpsw_type, 0, "RM0"); |