2002-07-12 Mo DeJong <supermo@bayarea.net>
[external/binutils.git] / gdb / mi / ChangeLog
index b66c373..86bec4a 100644 (file)
@@ -1,3 +1,310 @@
+2002-09-27  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-07-12 Mo DeJong <supermo@bayarea.net>
+       * gdbmi.texinfo (var-evaluate-expression): Note that
+       var-list-children must be invoked before child variable
+       values can be evaluated.
+
+2002-09-26  Elena Zannoni  <ezannoni@redhat.com>
+
+        * mi-cmd-disas.c (dump_insns): Add text only output for CLI.
+        (do_mixed_source_and_assembly): Ditto.
+
+2002-09-11  Keith Seitz  <keiths@redhat.com>
+
+       * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
+       for the uiout list. Do the cleanups when returning an error.
+       (mi_cmd_data_list_changed_registers): Ditto.
+       (mi_cmd_data_list_register_values): Use cleanups for the uiout list
+       and tuples. Do the cleanups when returning errors.
+
+2002-07-29  Andrew Cagney  <ac131313@redhat.com>
+
+
+       * mi-cmd-var.c: Include "gdb_string.h".
+       * mi-cmd-disas.c: Ditto.
+
+2002-06-17  Keith Seitz  <keiths@redhat.com>
+
+       * gdbmi.texinfo: Update command examples with real MI behavior.
+
+2002-05-20  Keith Seitz  <keiths@redhat.com>
+
+       * mi-main.c (captured_mi_execute_command): Add uiout parameter.
+       "data" is now a structure which is used to pass data to/from this
+       function to mi_execute_command.
+       Modify function to comply with requirements from catch_exceptions.
+       Store real return result and command's return result in data.
+       (mi_execute_command): Use catch_exceptions.
+       Use enum to handle actions to be performed instead of overloading
+       catch_errors return result and the mi return result.
+
+2002-04-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_exec_return): 
+
+2002-04-09  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (register_changed_p): Use frame_register_read instead
+       of read_relative_register_raw_bytes.
+       (get_register): Delete out-of-date comment.
+
+2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
+
+        * mi-cmd-disas.c: Run through indent.
+
+2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
+
+        * mi-cmd-disas.c (dump_insns): New function.
+        (do_mixed_source_and_assembly): New function.
+        (do_assembly_only): New function.
+        (do_disassembly): New function.
+        (mi_cmd_disassemble): Rewrite using smaller, more modular
+        functions.
+
+2002-04-05  Jim Blandy  <jimb@redhat.com>
+
+       * mi-cmd-stack.c (list_args_or_locals): Pass new arg to
+       get_frame_block.  (See entry in gdb/ChangeLog.)
+
+2002-04-05  Elena Zannoni  <ezannoni@redhat.com>
+
+       * mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
+       instead of tm_print_insn.
+       Update copyright year.
+
+2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
+       markers in the line table.
+
+2002-03-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (XMALLOC): Delete macro.
+       * mi-out.c (XMALLOC): Ditto.
+       * mi-parse.c (XMALLOC): Ditto.
+       * mi-console.c (XMALLOC): Ditto.
+       * mi-cmd-var.c (XMALLOC): Ditto.
+       * mi-cmd-break.c (XMALLOC): Ditto.
+       
+       * mi/mi-cmd-var.c, mi/mi-console.c, mi/mi-out.c: Update copyright
+       * mi/mi-parse.c: Ditto.
+
+2002-02-24  Andrew Cagney  <ac131313@redhat.com>
+
+       From wiz at danbala:
+       * gdbmi.texinfo: Fix grammar and typos.
+       Fix PR gdb/287.
+
+2002-02-03  Jim Blandy  <jimb@redhat.com>
+
+       * mi-cmd-stack.c (list_args_or_locals): Move declaration of
+       print_me inside the loop body, so it gets re-initialized every
+       iteration.  The cases for the different symbol kinds leave
+       print_me unchanged if they don't want the symbol printed.
+
+2002-01-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbmi.texinfo: Remove makeinfo 3.12 hacks.
+
+2002-01-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-cmd-stack.c: Remove #else clause of #ifdef UI_OUT.
+       * mi-cmd-break.c: Ditto.
+       * mi-main.c: Ditto.
+
+2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * gdbmi.texinfo: Fix the application of GFDL in the Copyright notice.
+
+2001-10-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.
+
+2001-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_thread_select): Pass uiout to
+       gdb_thread_select.
+       (mi_cmd_thread_list_ids): Pass uiout to gdb_list_thread_ids.
+
+       * mi-cmd-break.c (breakpoint_notify): Pass uiout to
+       gdb_breakpoint_query.
+
+2001-08-17  Keith Seitz  <keiths@redhat.com>
+
+       * mi-cmd-var.c (varobj_update_one): Update call to
+       varobj_update to reflect recent api change.
+
+2001-07-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c: Include "gdb.h".
+       * mi-cmd-break.c: Include "gdb.h".
+
+2001-07-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_execute_command): Flush output after ``(gdb)''
+       prompt.  Bug reported by David Whedon.
+       (mi_execute_async_cli_command): Ditto.
+       (mi_exec_async_cli_cmd_continuation): Ditto.
+       (mi_command_loop): Ditto.
+
+2001-07-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
+       created `struct ui_out_data'.
+
+2001-07-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * mi-main.c (register_changed_p, get_register): Use alloca()
+       to allocate space previously allocated via gcc's
+       variable-length array extension.
+       (mi_cmd_data_write_register_values, mi_cmd_data_write_memory):
+       Change type of ``buffer'' to ``void *''.  Don't cast return value
+       from xmalloc().  Add a cleanup to free the xmalloc'd buffer.
+
+2001-07-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_data_evaluate_expression): Replace value_ptr
+       with `struct value *'.
+
+2001-07-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * mi-out.c (mi_table_header, mi_field_int, mi_field_skip)
+       (mi_field_string) Make function declarators match earlier
+       declarations.
+
+2001-07-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c (mi_ui_out_impl): Initialize is_mi_like_p to one.
+
+2001-06-27  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c (mi_table_begin): Include nr_cols and nr_rows in mi1
+       table output.
+       * mi-out.c (mi_table_begin): Only suppress output when mi0. Change
+       the header to a list.
+       (mi_table_body): For mi1, close the header list and open a table
+       body list.
+       (mi_table_end): For mi1, close the body list.
+       (mi_table_header): For mi1, output a tuple containing all the
+       header information.
+       (mi_open, mi_close): Reverse logic of mi_version test.
+       * gdbmi.texinfo (GDB/MI Breakpoint Table Commands): Update.
+
+2001-06-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbmi.texinfo (GDB/MI Output Syntax): Delete reference to query
+       packet.
+
+2001-06-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
+       "locals" entries.
+       * gdbmi.texinfo (stack-list-locals, stack-list-arguments)
+       (exec-interrupt, target-select, thread-select): Update
+       documentation.
+
+2001-06-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
+       "stack" entries.
+       (mi_cmd_stack_list_args): Ditto for "stack-args".
+       * gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
+       documentation.
+       (GDB/MI Stack Manipulation Commands): Fix section title.  Was
+       Stack Manipulation Commands in GDB/MI.
+
+2001-06-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbmi.texinfo: Update output examples that contain stop reason
+       output, change the args=.... to a list.
+       (exec-return): Ditto.
+
+2001-06-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_data_read_memory): Output the memory contents
+       - memory and data - as a list.
+       * gdbmi.texinfo (data-read-memory): Update documentation.
+
+2001-06-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_data_list_register_values): Output a list of
+       register values.
+       * gdbmi.texinfo (data-list-register-values): Update documentation.
+
+2001-06-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_data_list_register_names): Output a list of
+       register names.
+       (mi_cmd_data_list_register_names): Include the pseudo registers.
+       (mi_cmd_data_list_register_names): Don't leave holes in the list,
+       output "" for NULL registers.
+       * gdbmi.texinfo (data-list-register-names): Update documentation.
+
+2001-06-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c (mi_cmd_data_list_changed_registers): Output a list of
+       register numbers.
+       * gdbmi.texinfo (data-list-changed-registers): Update
+       documentation.
+       
+2001-06-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbmi.texinfo (data-disassemble): Update documentation of
+       output.  Produces a list of instructions and a list of source
+       lines.
+
+2001-06-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-cmd-disas.c (mi_cmd_disassemble): For "-data-disassemble",
+       output a list instead of a tupple.
+
+2001-06-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c (struct ui_out_data): Replace field first_header with
+       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-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c (mi_open): For lists, when mi_version > 0, use ``[''.
+       (mi_close): Ditto for ``]''.
+
+2001-06-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c (mi_table_header): Add parameter ``col_name''.
+
+2001-06-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-out.c: Include "gdb_assert.h".
+       (mi_table_begin): Add parameter ``nr_rows''.
+
+2001-06-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-main.c: Use strncmp as the "mi" test.  Allow "mi", "mi0" and
+       "mi1".
+       (mi_command_loop): Add parameter mi_version, pass to mi_out_new.
+       (mi1_command_loop, mi0_command_loop): New functions.
+       (_initialize_mi_main): Recognize "mi", "mi0" and "mi1".
+       * mi-out.c (mi_out_new): Add parameter mi_version.
+       (struct ui_out_data): Add field mi_version.
+       * mi-out.h (mi_out_new): Update.
+
+2001-06-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
+       syntax.
+       (GDB/MI Draft Changes to Output Syntax): Delete section.
+       
+Mon Jun 11 17:22:25 2001  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mi-out.c: Fix typo. s/supress/suppress/.
+
 2001-06-09  Andrew Cagney  <ac131313@redhat.com>
 
        * mi-out.c (mi_table_end, mi_table_begin, mi_begin, mi_end): Move
@@ -5,7 +312,7 @@
        (mi_open, mi_close): To here.
        (mi_open): Add parameter name. Output a field_separator.
        (mi_table_begin): Update.
-       (mi_table_header): 
+       (mi_table_header): Update.
        (mi_begin): Update.
 
 2001-06-09  Andrew Cagney  <ac131313@redhat.com>