[anjuta] gdb: Fix debugger broken by the previous fix in gdbmi



commit 4dcf2c1e2c49bcd74807cc7fb67030164934667f
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Mon Nov 19 20:51:40 2012 +0100

    gdb: Fix debugger broken by the previous fix in gdbmi

 plugins/gdb/gdbmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gdb/gdbmi.c b/plugins/gdb/gdbmi.c
index 60b3fd6..f9d6568 100644
--- a/plugins/gdb/gdbmi.c
+++ b/plugins/gdb/gdbmi.c
@@ -419,7 +419,7 @@ gdbmi_value_parse_real (gchar **ptr)
 				error = TRUE;
 				break;
 			}
-			if (gdbmi_value_get_name(val) == NULL)
+			if (gdbmi_value_get_name(element) == NULL)
 			{
 				g_warning ("Parse error: Hash element has no name => '%s'",
 						   *ptr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]