aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
AgeCommit message (Collapse)AuthorFilesLines
2002-04-21* frame.h (selected_frame_level): Document as deprecated.Andrew Cagney2-1/+5
(frame_relative_level): Declare. * stack.c (frame_relative_level): New function. (selected_frame_level): Document as deprecated. (select_frame): Do not set the selected_frame_level. * stack.c (frame_info, record_selected_frame): Update. (frame_command, current_frame_command): Update. (up_silently_base, up_command, down_silently_base): Update. (down_command): Update. * inflow.c (kill_command): Update. * tracepoint.c (finish_tfind_command): Update. * corelow.c (core_open): Update. * thread.c (info_threads_command): Update. (do_captured_thread_select): Update. * infcmd.c (finish_command): Update. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
2002-04-152002-04-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
* mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN instead of tm_print_insn.
2002-04-12* defs.h (read_relative_register_raw_bytes): Delete declaration.Andrew Cagney2-5/+7
* frame.c (frame_register_read): New function. Return non-zero on success. (read_relative_register_raw_bytes_for_frame): Delete. (read_relative_register_raw_bytes): Delete. * frame.h (frame_register_read): Declare. * d30v-tdep.c: Update Copyright. Use frame_register_read. * sh-tdep.c: Ditto. * infcmd.c (do_registers_info): Ditto. * hppa-tdep.c: Ditto. * rs6000-tdep.c: Ditto. * h8500-tdep.c: Ditto. * mips-tdep.c: Ditto. * h8300-tdep.c: Ditto. * z8k-tdep.c: Ditto.
2002-04-082002-04-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-33/+32
* mi-cmd-disas.c: Run through indent.
2002-04-082002-04-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-291/+305
* 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-05gdb/ChangeLog:Jim Blandy2-1/+6
* stack.c (get_selected_block): Add new argument `addr_in_block', used to return the exact code address we used to select the block, not just the block. * blockframe.c (get_frame_block, get_current_block): Same. * frame.h (get_frame_block, get_current_block, get_selected_block): Update declarations. * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. gdb/mi/ChangeLog: * mi-cmd-stack.c (list_args_or_locals): Pass new arg to get_frame_block. (See entry in gdb/ChangeLog.)
2002-04-052002-04-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+9
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN instead of tm_print_insn. Update copyright year.
2002-04-042002-04-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+9
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function markers in the line table.
2002-03-19* defs.h (XMALLOC): Define.Andrew Cagney7-33/+24
* 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.
2002-02-25Fix PR gdb/287. From wiz at danbala. Then->than and typos.Andrew Cagney2-1/+7
2002-02-05* mi-cmd-stack.c (list_args_or_locals): Move declaration ofJim Blandy2-1/+9
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-22Eliminate texinfo 3.12 hacks.Andrew Cagney2-11/+10
2002-01-22FOOBAR, didn't ChangeLog UI_OUT removal.Andrew Cagney1-5/+3
2002-01-17Remove else clause to #if UI_OUT.Andrew Cagney4-21/+11
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney2-2/+2
2001-12-30Fix the application of GFDL in the Copyright notice.Eli Zaretskii2-10/+8
2001-10-122001-10-12 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-3/+6
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro. * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (make_symbol_completion_list): Likewise. (make_symbol_overload_list): Likewise. * buildsym.c (finish_block): Likewise. * breakpoint.c (get_catch_sals): Likewise. * mdebugread.c (mylookup_symbol): Likewise. * objfiles.c (objfile_relocate): Likewise. * printcmd.c (print_frame_args): Likewise. * stack.c (print_block_frame_locals): Likewise. (print_block_frame_labels): Likewise. (print_frame_arg_vars): Likewise. * symmisc.c (dump_symtab): Likewise. * tracepoint.c (add_local_symbols): Likewise. (scope_info): Likewise. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS. * generic/gdbtk-stack.c (gdb_block_vars): Likewise. (gdb_get_blocks): Likewise. (gdb_get_vars_command): Likewise. 5~
2001-09-18Add ui_out parameter to libgdb functions.Andrew Cagney3-3/+12
2001-08-17 * mi-cmd-var.c (varobj_update_one): Update call toKeith Seitz2-1/+6
varobj_update to reflect recent api change.
2001-07-28Move libgdb library functions to gdb.h (new file).Andrew Cagney3-0/+7
Update everything related to this.
2001-07-12* mi-main.c (mi_execute_command): Flush output after ``(gdb)''Andrew Cagney2-1/+12
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-09* mi-out.c (mi_out_new): Initialize suppress_ouput field of newlyMark Kettenis2-0/+6
created `struct ui_out_data'.
2001-07-09Fix memory leak and compilation problems using AIX 5 native compiler.Kevin Buettner2-8/+25
2001-07-09* mi-main.c (mi_cmd_data_evaluate_expression): Replace value_ptrAndrew Cagney2-1/+6
with `struct value *'.
2001-07-09Make function declarators match function declarations.Kevin Buettner2-6/+12
2001-07-06Replace:Andrew Cagney2-1/+6
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 Cagney3-43/+152
breakpoint table body as a list.
2001-06-26delete reference to query outputAndrew Cagney2-8/+5
2001-06-26* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" orAndrew Cagney3-25/+33
"locals" entries. * gdbmi.texinfo (stack-list-locals, stack-list-arguments) (exec-interrupt, target-select, thread-select): Update documentation. * mi-stack.exp: Update. Output for args=... and locals=... changed to a list.
2001-06-26* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list ofAndrew Cagney3-20/+30
"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. * mi-stack.exp: Update. Output for stack=..., args=... and stack-args=... changed to a list.
2001-06-26Unscramble two merged patches. This puts memory lists back to normal.Andrew Cagney1-15/+15
2001-06-26* stack.c (print_frame): For ui_out, output a list of arguments.Andrew Cagney2-35/+41
Update all tests. Update doco.
2001-06-25Update data-read-memory so that it outputs lists.Andrew Cagney3-19/+25
2001-06-25For data-list-register-values output a list of register values.Andrew Cagney3-6/+12
2001-06-25Output register-names as a list.Andrew Cagney3-17/+27
2001-06-25data-list-changed-registers outputs a list of registers.Andrew Cagney3-4/+11
2001-06-23Change mi/data-disassemble command output to a list ([]) instead ofAndrew Cagney3-20/+30
({}).
2001-06-21* mi-out.c (struct ui_out_data): Replace field first_header withAndrew Cagney2-8/+38
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 Cagney2-2/+13
2001-06-21* ui-out.h (ui_out_table_header): Add parameter ``col_name''.Andrew Cagney2-1/+6
(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 Cagney2-1/+7
(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 Cagney4-21/+52
2001-06-16* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists toAndrew Cagney2-164/+25
syntax. (GDB/MI Draft Changes to Output Syntax): Delete section.
2001-06-11s/supress/suppress/Andrew Cagney2-6/+10
2001-06-10Oops (again), missed a comment.Andrew Cagney1-1/+1
2001-06-10Move supress_field_separator logic into mi_open() and mi_close().Andrew Cagney2-17/+21
2001-06-10Oops. Clean up changelog entry.Andrew Cagney1-8/+8
2001-06-10Make char *, const char *.Andrew Cagney2-17/+37
2001-05-14Output ``[...]'' when a list.Andrew Cagney2-2/+26
2001-05-12s/ui_out_list/ui_out_tupple/Andrew Cagney6-61/+70