This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] MI: breakpoint "script" is a LIST
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Dodji Seketeli <dseketel at redhat dot com>
- Date: Thu, 13 Nov 2008 14:04:42 +0100
- Subject: [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);
}