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]

Display breakpoint commands as a list


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


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