aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-05From Brian Taylor <briant at model dot com>:Andrew Cagney1-2/+7
* ui-out.c (ui_out_field_core_addr): Use the function longest_local_hex_string_custom'to format addresses > 32 bits wide. * ui-out.c (ui_out_field_core_addr): Update comment.
2002-03-19* defs.h (XMALLOC): Define.Andrew Cagney1-6/+3
* gdb-events.sh (XMALLOC): Delete macro. * gdb-events.c, gdb-events.h: Regenerate. * gdbarch.sh (XMALLOC): Delete macro. * gdbarch.c: Regenerate. * serial.c (XMALLOC): Delete macro. * ui-file.c (XMALLOC): Ditto. * ser-unix.h (XMALLOC): Ditto. * sh-tdep.c (XMALLOC): Ditto. * ui-out.c (XMALLOC): Ditto. * utils.c (XMALLOC): Ditto. * i386-tdep.c (XMALLOC): Ditto. * gdb-events.c (XMALLOC): Ditto. * d10v-tdep.c (XMALLOC): Ditto. * cli-out.c (XMALLOC): Ditto. * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. * ui-file.c, ui-out.c: Ditto.
2001-12-15* ui-out.c (struct ui_out_table): Add field entry_level.Andrew Cagney1-50/+54
(verify_field): New function. (verify_field_proper_position): Delete function. (verify_field_alignment): Delete function. (ui_out_field_int): Update to use verify_field. (ui_out_field_skip): Ditto. (ui_out_field_string): Ditto. (ui_out_field_fmt): Ditto. (ui_out_table_begin): Initialize table.entry_level. (ui_out_table_end): Clear table.entry_level. (ui_out_begin): Call verify_field before pushing the new tuple or list onto the stack. Use table.entry_level.
2001-12-07Cleanup ui-out table impl. Add struct ui_out_table. RenameAndrew Cagney1-76/+93
curr[ent]_header to next_header.
2001-07-06Replace:Andrew Cagney1-1/+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-10/+20
(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/+9
(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-3/+6
(make_cleanup_ui_out_list_begin_end): Ditto. Open the list. * ui-out.h: Update declarations.
2001-06-11s/char */const char */Andrew Cagney1-29/+57
2001-06-10Make char *, const char *.Andrew Cagney1-16/+28
2001-05-12s/ui_out_list/ui_out_tupple/Andrew Cagney1-4/+23
2001-05-102001-05-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-3/+31
* 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-22/+61
2001-05-09Use a stack of structures (instead of a simple array) to keep track ofAndrew Cagney1-43/+80
the top list.
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-13/+25
internal_verror().
2001-01-27* ui-out.c (do_list_end): New function.Mark Kettenis1-0/+12
(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-12-15Replace free() with xfree().Kevin Buettner1-5/+5
2000-10-31Protoization.Kevin Buettner1-4/+1
2000-07-30Protoization.Kevin Buettner1-141/+52
2000-05-15Fix IRIX cc warnings. Fix ui_out functions that didn't return a value.Andrew Cagney1-2/+2
2000-02-172000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-1/+1
From Rodney Brown <RodneyBrown@pmsc.com> * ui-out.c (ui_out_set_flags): Fix typo, removing warning and potentially harming mistake.
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+1007