summaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
Commit message (Collapse)AuthorAgeFilesLines
* 2003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-181-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.
* ./Daniel Jacobowitz2003-06-281-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-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-02-031-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-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-031-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
* Replace:Andrew Cagney2001-07-061-0/+8
| | | | | | if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout))
* * ui-out.h (ui_out_table_header): Add parameter ``col_name''.Andrew Cagney2001-06-211-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.
* * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.Andrew Cagney2001-06-191-5/+7
| | | | | | | (default_table_begin): Ditto. * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to ui_out_table_begin. Update everything.
* * ui-out.c (ui_out_list_begin): Add parameter ``id''.Andrew Cagney2001-06-121-4/+4
| | | | | (make_cleanup_ui_out_list_begin_end): Ditto. Open the list. * ui-out.h: Update declarations.
* s/char */const char */Andrew Cagney2001-06-111-11/+12
|
* Make char *, const char *.Andrew Cagney2001-06-101-9/+16
|
* s/ui_out_list/ui_out_tupple/Andrew Cagney2001-05-121-5/+12
|
* 2001-05-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2001-05-101-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.
* Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().Andrew Cagney2001-05-091-5/+30
|
* Use a stack of structures (instead of a simple array) to keep track ofAndrew Cagney2001-05-091-2/+4
| | | | the top list.
* Eliminate some uses of __STDC__.Andrew Cagney2001-03-141-2/+0
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+1
|
* * ui-out.c (do_list_end): New function.Mark Kettenis2001-01-271-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.
* PARAMS removal.gdb-post-params-removal-2000-05-28Kevin Buettner2000-05-281-41/+38
|
* Initial revisionJason Molenda2000-02-031-0/+221