Display breakpoint commands as a list

David Narvaez david.narvaez@computer.org
Wed Dec 19 19:19:00 GMT 2012


Resending this patch that was sent to bug #9659

David E. Narvaez

--- a/gdb/breakpoint.c	
+++ a/gdb/breakpoint.c	
@@ -5831,7 +5831,7 @@ print_one_breakpoint_location (struct breakpoint *b,
       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);
     }



More information about the Gdb-patches mailing list