gdb: Update comments that reference VEC or vec.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7d378c88fb9ed682712ac434ecadcef840297500..3827c4d3235a749708622975a55b6ae571d5e6b1 100644 (file)
@@ -1,3 +1,327 @@
+2019-10-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * linespec.c (decode_digits_ordinary): Update comment.
+       * make-target-delegates: No longer need to handle VEC case.
+       * memrange.c (normalize_mem_ranges): Update comment.
+       * namespace.c (add_using_directive): Update comment.
+       * objc-lang.c (uniquify_strings): Update comment.
+       * ppc-linux-nat.c (struct thread_points): Update comment.
+       * probe.h (find_probes_in_objfile): Update comment.
+       * target.h (enum flash_preserve_mode): Update comment.
+       * varobj.c (varobj_restrict_range): Update comment.
+       * varobj.h (varobj_list_children): Update comment.
+
+2019-10-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in: Remove references to vec.h and vec.c.
+       * aarch64-tdep.c: No longer include vec.h.
+       * ada-lang.c: Likewise.
+       * ada-lang.h: Likewise.
+       * arm-tdep.c: Likewise.
+       * ax.h: Likewise.
+       * breakpoint.h: Likewise.
+       * charset.c: Likewise.
+       * cp-support.h: Likewise.
+       * dtrace-probe.c: Likewise.
+       * dwarf2read.c: Likewise.
+       * extension.h: Likewise.
+       * gdb_bfd.c: Likewise.
+       * gdbsupport/gdb_vecs.h: Likewise.
+       * gdbsupport/vec.c: Remove.
+       * gdbsupport/vec.h: Remove.
+       * gdbthread.h: Likewise.
+       * guile/scm-type.c: Likewise.
+       * inline-frame.c: Likewise.
+       * machoread.c: Likewise.
+       * memattr.c: Likewise.
+       * memrange.h: Likewise.
+       * namespace.h: Likewise.
+       * nat/linux-btrace.h: Likewise.
+       * osdata.c: Likewise.
+       * parser-defs.h: Likewise.
+       * progspace.h: Likewise.
+       * python/py-type.c: Likewise.
+       * record-btrace.c: Likewise.
+       * rust-exp.y: Likewise.
+       * solib-target.c: Likewise.
+       * stap-probe.c: Likewise.
+       * target-descriptions.c: Likewise.
+       * target-memory.c: Likewise.
+       * target.h: Likewise.
+       * varobj.c: Likewise.
+       * varobj.h: Likewise.
+       * xml-support.h: Likewise.
+
+2019-10-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/dwarf2read.c (dwarf2_per_objfile::~dwarf2_per_objfile):
+       Update for new std::vector based implementation.
+       (process_psymtab_comp_unit_reader): Likewise.
+       (scan_partial_symbols): Likewise.
+       (recursively_compute_inclusions): Likewise.
+       (compute_compunit_symtab_includes): Likewise.
+       (process_imported_unit_die): Likewise.
+       (queue_and_load_dwo_tu): Likewise.
+       (follow_die_sig_1): Likewise.
+       * gdb/dwarf2read.h: Remove DEF_VEC_P.
+       (typedef dwarf2_per_cu_ptr): Remove.
+       (struct dwarf2_per_cu_data) <imported_symtabs_empty>: New
+       function.
+       (struct dwarf2_per_cu_data) <imported_symtabs_push>: New function.
+       (struct dwarf2_per_cu_data) <imported_symtabs_size>: New function.
+       (struct dwarf2_per_cu_data) <imported_symtabs_free>: New function.
+       (struct dwarf2_per_cu_data) <imported_symtabs>: Change to
+       std::vector.
+
+2019-10-15  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat_target::resume): Use %x when logging
+       TID.
+
+2019-10-15  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat_target::fetch_registers)
+       (windows_nat_target::store_registers): Rename "pid" to "tid".
+
+2019-10-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdbarch.h, gdbarch.c: Rebuild.
+       * gdbarch.sh (gcc_target_options): Change return type to
+       std::string.
+       * compile/compile.c (get_args): Update.
+       * nios2-tdep.c (nios2_gcc_target_options): Return std::string.
+       * arm-linux-tdep.c (arm_linux_gcc_target_options): Return
+       std::string.
+       * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): Return
+       std::string.
+       * arch-utils.c (default_gcc_target_options): Return std::string.
+       * arch-utils.h (default_gcc_target_options): Return std::string.
+       * s390-tdep.c (s390_gcc_target_options): Return std::string.
+
+2019-10-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * breakpoint.c (breakpoint_chain): Make static.
+       * tui/tui-winsource.c: Call iterate_over_breakpoints instead
+       of accessing breakpoint_chain.
+
+2019-10-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * breakpoint.c (iterate_over_breakpoints): Change function pointer
+       to a gdb::function_view and return value to bool.
+       * breakpoint.h (iterate_over_breakpoints): Likewise.
+       * dummy-frame.c (pop_dummy_frame_bpt): Update.
+       (pop_dummy_frame): Update.
+       * guile/scm-breakpoint.c (bpscm_build_bp_list): Update.
+       (gdbscm_breakpoints): Update.
+       * python/py-breakpoint.c (build_bp_list): Update.
+       (gdbpy_breakpoints): Update.
+       * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
+       Update.
+       (bpfinishpy_handle_stop): Update.
+       (bpfinishpy_handle_exit): Update.
+       * solib-svr4.c (svr4_update_solib_event_breakpoint): Update.
+       (svr4_update_solib_event_breakpoints): Update.
+
+2019-10-15  Andreas Arnez  <arnez@linux.ibm.com>
+
+       * s390-tdep.c (s390_effective_inner_type): Ignore static fields
+       when unwrapping single-field structs.
+
+2019-10-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2read.c: Remove includes.
+
+2019-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ui-out.c (ui_out::call_do_message): Silence
+       -Wformat-nonliteral warning.
+
+2019-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c: Remove some includes: continuations.h, skip.h,
+       mi/mi-main.h, readline/readline.h, readline/history.h.  Add
+       include: readline/tilde.h.
+
+2019-10-12  Christian Biesinger  <cbiesinger@google.com>
+
+       * remote.c (remote_target::get_trace_status): Remove declaration of
+       trace_regblock_size.
+
+2019-10-12  Christian Biesinger  <cbiesinger@google.com>
+
+       * cli/cli-cmds.c (max_user_call_depth): Move comment to header.
+       (show_user): Remove declaration of cmdlist.
+       * cli/cli-cmds.h (max_user_call_depth): Declare.
+       * cli/cli-script.c (execute_user_command): Remove declaration
+       of max_user_call_depth.
+
+2019-10-11  Jim Wilson  <jimw@sifive.com>
+
+       * gdbsupport/print-utils.h (pulongest): Fix comment.
+       (plongest): Likewise.
+       (phex): Add missing comment, mention leading zeros.
+       (phex_nz): Add mention of no leading zeros to comment.
+
+       * riscv-tdep.c (riscv_push_dummy_code): Change %lld to %s and use
+       plongest instead of unsigned long long cast.
+
+2019-10-10  Christian Biesinger  <cbiesinger@google.com>
+
+       * main.c (captured_main_1): Include gdbtk.h and remove declarations
+       for external_editor_command and gdbtk_test.
+
+2019-10-10  Christian Biesinger  <cbiesinger@google.com>
+
+       * mi/mi-cmd-var.c (varobjdebug): Remove declaration.
+       * varobj.c (varobjdebug): Move comment to...
+       * varobj.h (varobjdebug): ...here, and declare.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_data_window::show_registers): Don't call
+       erase_data_content.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.h (tui_delete_win): Don't declare.
+       * tui/tui-stack.c (tui_locator_window::rerender): Update.
+       * tui/tui-command.c (tui_cmd_window::resize)
+       (tui_refresh_cmd_win): Update.
+       * tui/tui-win.c (tui_resize_all, tui_set_focus_command): Update.
+       * tui/tui.c (tui_rl_other_window, tui_enable): Update.
+       * tui/tui-data.c (~tui_gen_win_info): Remove.
+       * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+       * tui/tui-io.c (update_cmdwin_start_line, tui_putc, tui_puts)
+       (tui_redisplay_readline, tui_mld_flush)
+       (tui_mld_erase_entire_line, tui_mld_getc, tui_getc): Update.
+       * tui/tui-regs.c (tui_data_window::delete_data_content_windows)
+       (tui_data_window::erase_data_content)
+       (tui_data_item_window::rerender)
+       (tui_data_item_window::refresh_window): Update.
+       * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window)
+       (box_win, tui_gen_win_info::make_window)
+       (tui_gen_win_info::make_visible): Update.
+       (tui_delete_win): Remove.
+       * tui/tui-winsource.c
+       (tui_source_window_base::do_erase_source_content): Update.
+       (tui_show_source_line, tui_source_window_base::update_tab_width)
+       (tui_source_window_base::update_exec_info): Update.
+       * tui/tui-data.h (struct curses_deleter): New.
+       (struct tui_gen_win_info) <handle>: Now a unique_ptr.
+       (struct tui_gen_win_info) <~tui_gen_win_info>: Define.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.h (struct tui_gen_win_info): Don't declare.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-data.c (tui_win_is_auxiliary): Remove.
+       * tui/tui-data.h (tui_win_is_auxiliary): Don't declare.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-disasm.c (tui_get_low_disassembly_address): Compute
+       window height directly.
+       * tui/tui-layout.h (tui_default_win_viewport_height): Don't
+       declare.
+       * tui/tui-layout.c (tui_default_win_height): Remove.
+       (tui_default_win_viewport_height): Remove.
+
+2019-10-09  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.h: Remove comments.
+
+2019-10-09  Tom de Vries  <tdevries@suse.de>
+
+       * python/lib/gdb/printer/bound_registers.py: Use
+       '^builtin_type_bound128' as regexp argument for
+       add_builtin_pretty_printer.
+
+2019-10-09  Christian Biesinger  <cbiesinger@google.com>
+
+       * guile/guile.c (guile_extension_script_ops): Remove forward
+       declaration and mark as static.
+       (guile_script_ops): Likewise.
+       (extension_language_guile): Move further down in the file so
+       it can reference the definitions for guile_{extension_,}script_ops.
+
+2019-10-09  Andreas Arnez  <arnez@linux.ibm.com>
+
+       * s390-tdep.c (390_process_record): Handle new arch13 instructions
+       except SORTL, DFLTCC, and KDSA.
+
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info_struct) <sf>: Remove.
+       (struct safe_symbol_file_add_args): Remove.
+
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c: Don't include buildsym-legacy.h.
+
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
+
+2019-10-08  Christian Biesinger  <cbiesinger@google.com>
+
+       * gdbtypes.c (overload_debug): Move comment to header.
+       * gdbtypes.h (overload_debug): Declare.
+       * valops.c: Remove declaration of overload_debug, instead
+       include gdbtypes.h.
+
+2019-10-08  Christian Biesinger  <cbiesinger@google.com>
+
+       * language.c (show_language_command): Pass lang_frame_mismatch_warn
+       through _().
+       (lang_frame_mismatch_warn): Make const, mark with N_(), and
+       move comment...
+       * language.h (lang_frame_mismatch_warn): ... here. Also add
+       declaration.
+       * top.c (lang_frame_mismatch_warn): Remove declaration.
+       (check_frame_language_change): Pass lang_frame_mismatch_warn
+       through _().
+
+2019-10-07  Christian Biesinger  <cbiesinger@google.com>
+
+       * c-lang.h (vtbl_ptr_name): Declare.
+       * cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get
+       it from the header.
+       * stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name.
+
+2019-10-07  Christian Biesinger  <cbiesinger@google.com>
+
+       * charset.c (your_gdb_wchar_t_is_bogus): Replace with a
+       gdb_static_assert.
+
+2019-10-07  Weimin Pan  <weimin.pan@oracle.com>
+
+       * ../Makefile.def (dependencies): Add all-libctf to all-gdb
+       * ../Makefile.in: Add "all-gdb: maybe-all-libctf"
+       * ctfread.c: New file.
+       * ctfread.h: New file.
+       * elfread.c: Include ctfread.h.
+       (struct elfinfo text_p): New member ctfsect.
+       (elf_locate_sections): Mark CTF section.
+       (elf_symfile_read): Call elfctf_build_psymtabs.
+       * Makefile.in (LIBCTF): Add.
+       (CLIBS): Use it.
+       (CDEPS): Likewise.
+       (DIST): Add ctfread.c.
+
+2019-10-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ctfread.c (struct nextfield): Renamed to ...
+       (struct ctf_nextfield): ... this.
+       (struct field_info): Renamed to ...
+       (strut ctf_field_info): ... this.
+       (attach_fields_to_type): Update for renamed structures.
+       (ctf_add_member_cb): Likewise.
+       (ctf_add_enum_member_cb): Likewise.
+       (process_struct_members): Likewise.
+       (process_enum_type): Likewise.
+
 2019-10-07  Weimin Pan  <weimin.pan@oracle.com>
 
        * tracectf.h: Rename, was ctf.h.
 
 2019-07-04  Alan Hayward  <alan.hayward@arm.com>
 
+       PR breakpoints/25011
        * symfile.c (symbol_file_command): Call solib_create_inferior_hook.
 
 2019-07-04  Tom Tromey  <tom@tromey.com>
 
 2019-05-28  Alan Hayward  <alan.hayward@arm.com>
 
+       PR gdb/25010
        * event-top.c: Remove include comment.
        * inflow.c (class scoped_ignore_sigttou): Move from here...
        * inflow.h (class scoped_ignore_sigttou): ...to here.
This page took 0.031608 seconds and 4 git commands to generate.