This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH OBV 3/9] Fix a typo in rx_fpsw_type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]