Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] MI: breakpoint "script" is a LIST
@ 2008-11-13 15:11 Jan Kratochvil
  2008-11-13 15:35 ` Vladimir Prus
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Kratochvil @ 2008-11-13 15:11 UTC (permalink / raw)
  To: gdb-patches; +Cc: Dodji Seketeli

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

Hi,

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


Regards,
Jan

[-- Attachment #2: gdb-script-list.patch --]
[-- Type: text/plain, Size: 598 bytes --]

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);
     }

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-15 22:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-13 15:11 [patch] MI: breakpoint "script" is a LIST Jan Kratochvil
2008-11-13 15:35 ` Vladimir Prus
2008-11-13 15:39   ` Jan Kratochvil
2008-11-13 20:21     ` Vladimir Prus
2008-11-13 21:35       ` Tom Tromey
2008-11-13 21:55       ` Marc Khouzam
2008-11-13 21:59         ` Jan Kratochvil
2008-11-16  8:23   ` André Pönitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox