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] MI: breakpoint "script" is a LIST


Hi,

Nemiver could not parse the MI2 output.  The list of commands is a `list', not
a `tuple'.


Regards,
Jan
2008-11-13  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* breakpoint.c (print_one_breakpoint_location): "script" is a list.

--- ./gdb/breakpoint.c	3 Nov 2008 14:01:26 -0000	1.359
+++ ./gdb/breakpoint.c	13 Nov 2008 12:22:03 -0000
@@ -3766,7 +3782,7 @@ print_one_breakpoint_location (struct br
       struct cleanup *script_chain;
 
       annotate_field (9);
-      script_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "script");
+      script_chain = make_cleanup_ui_out_list_begin_end (uiout, "script");
       print_command_lines (uiout, l, 4);
       do_cleanups (script_chain);
     }

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