aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
AgeCommit message (Collapse)AuthorFilesLines
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* user-regs.h (struct gdbarch): Declare opaque. * ui-out.h (struct ui_file): Declare opaque. * dwarf2-frame.h (struct frame_info): Declare opaque.
2003-06-28./Daniel Jacobowitz1-0/+7
* cli/cli-logging.c: New file. * cli-out.c (struct ui_out_data): Add original_stream. (cli_redirect): New function. (cli_ui_out_impl): Add cli_redirect. (cli_out_new): Initialize original_stream. * ui-out.c (default_ui_out_impl): Add NULL for redirect member. (uo_redirect, ui_out_redirect): New. * ui-out.h (struct ui_out_impl): Add redirect member. (redirect_ftype): New. (ui_out_redirect): Add prototype. * Makefile.in: Add rules for cli-logging.c. * NEWS: Mention "set logging". mi/ * mi-out.c (mi_ui_out_impl): Add NULL for redirect member. tui/ * tui-out.c (tui_ui_out_impl): Add NULL for redirect member. doc/ * gdb.texinfo (Logging output): New chapter.
2003-02-032003-02-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-14/+4
Fix PR gdb/742 gdb/743 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Use make_cleanup_ui_out_tuple_begin_end and make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Ditto. * thread.c (do_captured_list_thread_ids): Ditto. * ui-out.h (ui_out_table_begin, ui_out_list_begin, ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, ui_out_tuple_end): Delete prototypes. * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, ui_out_list_end, ui_out_tuple_end): Delete. From Kevin Buettner <kevinb@redhat.com>: * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. * ui-out.c (make_cleanup_ui_out_table_begin_end) (do_cleanup_table_end): New functions. * breakpoint.c (print_it_typical, print_one_breakpoint, mention): Use cleanups to invoke_ui_out_tuple_end(). (breakpoint_1): Use cleanup to invoke ui_out_table_end(). * cli/cli-setshow.c (cmd_show_list): Use make_cleanup_ui_out_tuple_begin_end.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+4
* ui-out.h (ui_out_field_fmt_int): New prototype. * ui-out.c (ui_out_field_fmt_int): New function allowing specification of field width and alignment. * stack.c (print_frame_info_base): When printing frame level, use ui_out_field_fmt_int with a width of 2 and left alignment. Fix for PR gdb/192
2001-07-06Replace:Andrew Cagney1-0/+8
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout))
2001-06-21* ui-out.h (ui_out_table_header): Add parameter ``col_name''.Andrew Cagney1-2/+3
(table_header_ftype): Ditto. * cli-out.c (cli_table_header): Update. * ui-out.c (ui_out_table_header): Update. (uo_table_header): Update. (default_table_header): Update. (append_header_to_list): Update. (struct ui_out_header): Add field ``col_name''. (append_header_to_list): Use xstrdup. Initialize col_name. * breakpoint.c (breakpoint_1): Pass COL_NAME to ui_out_table_header.
2001-06-19* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.Andrew Cagney1-5/+7
(default_table_begin): Ditto. * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to ui_out_table_begin. Update everything.
2001-06-12* ui-out.c (ui_out_list_begin): Add parameter ``id''.Andrew Cagney1-4/+4
(make_cleanup_ui_out_list_begin_end): Ditto. Open the list. * ui-out.h: Update declarations.
2001-06-11s/char */const char */Andrew Cagney1-11/+12
2001-06-10Make char *, const char *.Andrew Cagney1-9/+16
2001-05-12s/ui_out_list/ui_out_tupple/Andrew Cagney1-5/+12
2001-05-102001-05-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+4
* ui-out.h (make_cleanup_ui_out_begin_end): Declare. * ui-out.c (struct ui_out_end_cleanup_data): Define. (do_cleanup_end): New function. Replace do_list_end. (make_cleanup_ui_out_end): New function. (make_cleanup_ui_out_begin_end): New function. (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
2001-05-09Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().Andrew Cagney1-5/+30
2001-05-09Use a stack of structures (instead of a simple array) to keep track ofAndrew Cagney1-2/+4
the top list.
2001-03-14Eliminate some uses of __STDC__.Andrew Cagney1-2/+0
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-01-27* ui-out.c (do_list_end): New function.Mark Kettenis1-0/+2
(make_cleanup_ui_out_list_end): New function. * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end. * stack.c (print_frame) [UI_OUT]: Call make_cleanup_ui_out_list_end to make sure we mark the end of the list if we do a non-local exit. At the end of the function, instead of calling ui_out_list_end directly, let do_cleanups handle it.
2000-05-28PARAMS removal.Kevin Buettner1-41/+38
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+221