This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OBV 3/9] Fix a typo in rx_fpsw_type
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 13 Apr 2017 08:26:07 +0100
- Subject: [PATCH OBV 3/9] Fix a typo in rx_fpsw_type
- Authentication-results: sourceware.org; auth=none
- References: <1492068373-4916-1-git-send-email-yao.qi@linaro.org>
gdb:
2017-04-12 Yao Qi <yao.qi@linaro.org>
* rx-tdep.c (rx_fpsw_type): Check tdep->rx_fpsw_type instead of
tdep->rx_psw_type.
---
gdb/rx-tdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c
index 1a3d103..83bb3ec 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");
--
1.9.1