aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-172010-05-17 Michael Snyder <msnyder@vmware.com>Michael Snyder1-1/+19
* mi/mi-cmd-break.c: White space. * mi/mi-cmd-env.c: White space. * mi/mi-cmds.c: White space. * mi/mi-cmd-stack.c: White space. * mi/mi-cmd-var.c: White space. * mi/mi-console.c: White space. * mi/mi-getopt.c: White space. * mi/mi-interp.c: White space. * mi/mi-main.c: White space. * mi/mi-out.c: White space. * mi/mi-parse.c: White space.
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder1-1/+0
* mi/mi-out.c (mi_table_begin): Delete unused variable. * mi/mi-cmd-var.c (print_varobj): Delete unused variable. (mi_cmd_var_list_children): Delete unused variable. (varobj_update_one): Delete unused variable. * mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables. * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Delete unused variable. (mi_cmd_stack_list_variables): Delete unused variable. (list_args_or_locals): Delete unused variable. * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Delete unused variables. (mi_cmd_file_list_exec_source_files): Delete unused variable. * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Delete unused variable. * mi/mi-interp.c (mi_interpreter_exec): Delete unused variable. (mi_cmd_interpreter_exec): Delete unused variable. (mi_on_normal_stop): Delete unused variable. * mi/mi-main.c (run_one_inferior): Delete unused variable. (print_one_inferior): Delete unused variables. (mi_execute_command): Delete unused variable. (mi_cmd_execute): Delete unused variable. (timestamp): Delete unused variable.
2010-05-02gdb/Jan Kratochvil1-2/+2
* ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. * amd64-tdep.c (amd64_insn_length_fprintf): Likewise. * cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF. (cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. * complaints.c (find_complaint): New ATTRIBUTE_PRINTF. (vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. * complaints.h (complaint, internal_complaint): Likewise. * defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment. (ATTR_FORMAT): Remove. (query, nquery, yquery, vprintf_filtered, vfprintf_filtered) (fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered) (vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered) (printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf) (xsnprintf, verror, error, vfatal, fatal, internal_verror) (internal_error, internal_vwarning, internal_warning, warning) (vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. * disasm.c (fprintf_disasm): Likewise. * exceptions.c (throw_it): Likewise. * exceptions.h (exception_fprintf, throw_verror, throw_vfatal) (throw_error): Likewise. * language.h (type_error, range_error): Likewise. * linespec.c (cplusplus_error): Likewise. * mi/mi-interp.c (mi_interp_query_hook): Likewise. * mi/mi-out.c (mi_field_fmt, mi_message): Likewise. * monitor.c (monitor_debug): Likewise. * parser-defs.h (parser_fprintf): Likewise. * serial.h (serial_printf): Likewise. * tui/tui-hooks.c (tui_query_hook): Likewise. * ui-out.c (default_field_fmt, default_message, uo_field_fmt) (uo_message): Likewise. * ui-out.h (ui_out_field_fmt, ui_out_message): Likewise. * utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query): Likewise. * xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise.
2010-01-01Update copyright year in most headers.Joel Brobecker1-1/+1
Automatic update by copyright.sh.
2009-01-03 Updated copyright notices for most files.Joel Brobecker1-1/+1
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-23 Switch the license of all .c files to GPLv3.Joel Brobecker1-4/+2
Switch the license of all .h files to GPLv3. Switch the license of all .cc files to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+2
2005-12-23 * mi/mi-symbol-cmds.c:Eli Zaretskii1-3/+3
* mi/mi-parse.h: * mi/mi-parse.c: * mi/mi-out.h: * mi/mi-out.c: * mi/mi-main.h: * mi/mi-main.c: * mi/mi-interp.c: * mi/mi-getopt.h: * mi/mi-getopt.c: * mi/mi-console.h: * mi/mi-console.c: * mi/mi-common.h: * mi/mi-common.c: * mi/mi-cmds.h: * mi/mi-cmds.c: * mi/mi-cmd-var.c: * mi/mi-cmd-stack.c: * mi/mi-cmd-file.c: * mi/mi-cmd-env.c: * mi/mi-cmd-disas.c: * mi/mi-cmd-break.c: Add (C) after Copyright. Update the FSF address.
2005-07-31From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>:Daniel Jacobowitz1-3/+4
gdb/ * cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF. * complaints.c (vcomplaint): Likewise. * defs.h (xvasprintf, xstrvprintf, verror, vfatal) (internal_verror, internal_vwarning, vwarning) (deprecated_query_hook, deprecated_warning_hook) (deprecated_readline_begin_hook): Likewise. * disasm.c (fprintf_disasm): Likewise. * exceptions.c (throw_it): Likewise. * exceptions.h (throw_verror, throw_vfatal): Likewise. * mi/mi-interp.c (mi_interp_query_hook): Likewise. * mi/mi-out.c (mi_field_fmt, mi_message): Likewise. * tui/tui-hooks.c (tui_query_hook): Likewise. * tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt): Likewise. * ui-out.c (default_field_fmt, default_message, uo_field_fmt) (uo_message): Likewise. * ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype) (message_ftype): Likewise. * utils.c (vfprintf_maybe_filtered, internal_vproblem) (defaulted_query, printchar): Likewise. gdb/gdbserver/ * server.h (error, fatal, warning): Add ATTR_FORMAT.
2005-02-112005-02-11 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+2
Mark up error_no_arg, query, perror_with_name, complaint, and internal_error. * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update. * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update. * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update. * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update. * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update. * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update. * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update. * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update. * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update. * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update. * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update. * interps.c, language.c, linespec.c, linux-nat.c: Update. * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update. * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update. * macrotab.c, maint.c, mdebugread.c, memattr.c: Update. * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update. * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update. * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update. * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update. * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update. * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update. * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update. * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update. * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update. * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update. * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update. * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update. * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update. * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update. * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update. * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update. * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update. * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update. * tui/tui-file.c, tui/tui-interp.c: Update.
2004-01-192004-01-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-29/+1
* remote-sds.c (tohex): Delete unused function. Update copyright. * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. * v850-tdep.c (v850_register_virtual_size): Ditto. * target.c (normal_target_post_startup_inferior): Ditto. * source.c (ambiguous_line_spec): Ditto. * remote.c (adapt_remote_get_threadinfo): Ditto. * mi/mi-out.c (out_field_fmt): Ditto. * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. (output_control_change_notification): Ditto. * m68k-tdep.c (m68k_register_byte): Ditto. (m68k_remote_breakpoint_from_pc): Ditto. * ui-out.c (init_ui_out_state): Delete unused declaration. * stabsread.c (search_value): Ditto. * mi/mi-cmd-env.c (env_cli_command): Ditto. * maint.c (print_section_table): Ditto. * infrun.c (set_follow_fork_mode_command): Ditto.
2003-06-28./Daniel Jacobowitz1-0/+1
* 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-03-08Index: ChangeLogAndrew Cagney1-21/+22
2003-03-08 Andrew Cagney <cagney@redhat.com> * cli-out.c: Update copyright. (cli_out_data): Define typedef. Use instead of ui_out_data. Index: mi/ChangeLog 2003-03-08 Andrew Cagney <cagney@redhat.com> * mi-out.c: Update copyright. (mi_out_data): Define typedef. Use instead of ui_out_data. Index: tui/ChangeLog 2003-03-08 Andrew Cagney <cagney@redhat.com> * tui-out.c: Update copyright. (tui_out_data): Define typedef. Use instead of ui_out_data.
2002-10-012002-10-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-28/+2
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2" and that "mi0" syntax has been removed. 2002-10-01 Andrew Cagney <ac131313@redhat.com> * gdb.texinfo (Mode Options): Update --interpreter option. "mi2" and "mi1" instead of "mi1" and "mi0". 2002-10-01 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi2_command_loop): New function. (mi0_command_loop): Delete function. (_initialize_mi_main): Recognize, and default to, "mi2". Do not recognize "mi0". * mi-out.c (mi_table_begin): Remove mi0 code. (mi_table_body, mi_table_end): Ditto. (mi_table_header, mi_open, mi_close): Ditto.
2002-09-302002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+9
* mi-out.c (mi_version): New function. * mi-out.h (mi_version): Declare.
2002-03-19* defs.h (XMALLOC): Define.Andrew Cagney1-7/+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-07-09* mi-out.c (mi_out_new): Initialize suppress_ouput field of newlyMark Kettenis1-0/+1
created `struct ui_out_data'.
2001-07-09Make function declarators match function declarations.Kevin Buettner1-6/+6
2001-07-06Replace:Andrew Cagney1-1/+2
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout))
2001-06-27For MI>0, output full breakpoint table header information. Output theAndrew Cagney1-13/+40
breakpoint table body as a list.
2001-06-21* mi-out.c (struct ui_out_data): Replace field first_header withAndrew Cagney1-8/+27
suppress_output. (mi_begin, mi_end): Check suppress_header. (mi_field_int, mi_field_skip): Ditto. (mi_field_string, mi_field_fmt): Ditto. (mi_table_begin): When nr_rows is zero, set suppress_header else, output the start of the header. (mi_table_body): Clear suppress header.
2001-06-21Output ``[]'' when a list.Andrew Cagney1-2/+8
2001-06-21* ui-out.h (ui_out_table_header): Add parameter ``col_name''.Andrew Cagney1-1/+2
(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-1/+2
(default_table_begin): Ditto. * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to ui_out_table_begin. Update everything.
2001-06-18Recognize -i=mi0, -i=mi1 and -i=mi.Andrew Cagney1-1/+3
2001-06-11s/supress/suppress/Andrew Cagney1-6/+6
2001-06-10Move supress_field_separator logic into mi_open() and mi_close().Andrew Cagney1-17/+11
2001-06-10Make char *, const char *.Andrew Cagney1-17/+26
2001-05-14Output ``[...]'' when a list.Andrew Cagney1-2/+22
2001-05-12s/ui_out_list/ui_out_tupple/Andrew Cagney1-4/+4
2001-05-10Pass the tupple/list parameter.Andrew Cagney1-13/+15
2001-05-09Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().Andrew Cagney1-6/+12
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2000-07-30Protoization.Kevin Buettner1-45/+15
2000-05-28PARAMS removal.Kevin Buettner1-1/+1
2000-05-16Rename mi/ChangeLog-mi -> mi/ChangeLogAndrew Cagney1-4/+0
2000-02-23Fix copyright - Cygnus is a Red Hat company.Andrew Cagney1-1/+1
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-0/+401
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.