X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=76585e84cfbe5b988872b1e3d93e74edd3623a6a;hb=2cf311ebadb5058afb983c61363fc2595c01b9e4;hp=c4f55a8137dea63bfd17558405dbc757c4448219;hpb=26a67918a501370a8fe62db18a74761a0073016f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c4f55a8137..76585e84cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,794 @@ +2017-09-27 Tom Tromey + + * symfile.c (add_symbol_file_command) + (remove_symbol_file_command, list_overlays_command) + (map_overlay_command, unmap_overlay_command) + (overlay_auto_command, overlay_manual_command) + (overlay_off_command, overlay_load_command): Constify. + +2017-09-27 Tom Tromey + + * spu-tdep.c (info_spu_event_command, info_spu_signal_command) + (info_spu_mailbox_command, info_spu_dma_command) + (info_spu_proxydma_command): Constify. + +2017-09-27 Tom Tromey + + * cli/cli-logging.c (set_logging_on, set_logging_off): Constify. + +2017-09-27 Tom Tromey + + * cli/cli-script.c (user_defined_command): Constify. + +2017-09-27 Tom Tromey + + * cli/cli-dump.c (dump_memory_command, dump_value_command) + (dump_srec_memory, dump_srec_value, dump_ihex_memory) + (dump_ihex_value, dump_verilog_memory, dump_verilog_value) + (dump_tekhex_memory, dump_tekhex_value, dump_binary_memory) + (dump_binary_value, append_binary_memory, append_binary_value): + Constify. + (struct dump_context) : Constify. + (add_dump_command): Update. + +2017-09-27 Tom Tromey + + * cli/cli-cmds.c (show_version, show_configuration) + (source_command, show_user): Constify. + +2017-09-27 Tom Tromey + + * target.c (maintenance_print_target_stack): Constify. + +2017-09-27 Tom Tromey + + * interps.c (interpreter_exec_cmd): Constify. + +2017-09-27 Tom Tromey + + * record-full.c (cmd_record_full_restore): Constify. + +2017-09-27 Tom Tromey + + * memattr.c (enable_mem_command, disable_mem_command) + (delete_mem_command): Constify. + +2017-09-27 Tom Tromey + + * value.c (show_convenience): Constify. + +2017-09-27 Tom Tromey + + * gdbcore.h (core_file_command): Update. + * corefile.c (core_file_command): Constify. + +2017-09-27 Tom Tromey + + * user-regs.c (maintenance_print_user_registers): Constify. + +2017-09-27 Tom Tromey + + * cp-namespace.c (maintenance_cplus_namespace): Constify. + +2017-09-27 Tom Tromey + + * cp-support.c (first_component_command): Constify. + +2017-09-27 Tom Tromey + + * psymtab.c (maintenance_print_psymbols) + (maintenance_info_psymtabs, maintenance_check_psymtabs): + Constify. + +2017-09-27 Tom Tromey + + * windows-tdep.c (display_tib): Constify. + +2017-09-27 Tom Tromey + + * linux-fork.c (delete_checkpoint_command) + (detach_checkpoint_command): Constify. + +2017-09-27 Tom Tromey + + * cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify. + +2017-09-27 Tom Tromey + + * arc-tdep.c (dump_arc_instruction_command): Constify. + +2017-09-27 Tom Tromey + + * valprint.c (set_radix, show_radix): Constify. + +2017-09-27 Tom Tromey + + * dtrace-probe.c (info_probes_dtrace_command): Constify. + +2017-09-27 Tom Tromey + + * command.h (not_just_help_class_command): Update. + * cli/cli-decode.h (not_just_help_class_command): Update. + * cli/cli-decode.c (not_just_help_class_command): Constify. + +2017-09-27 Tom Tromey + + * gdb_bfd.c (maintenance_info_bfds): Constify. + +2017-09-27 Tom Tromey + + * cli/cli-decode.c (add_cmd, set_cmd_cfunc): New function + overloads. + (do_add_cmd): Rename from add_cmd. Don't call set_cmd_cfunc. + (do_const_cfunc): New function. + (cmd_cfunc_eq): New overload. + (cli_user_command_p): Check do_const_cfunc. + * cli/cli-decode.h (struct cmd_list_element) : New field + const_cfunc. + * command.h (add_cmd): Add const overload and no-function + overload. + (set_cmd_cfunc): Add const overload. + (cmd_const_cfunc_ftype): Declare. + (cmd_cfunc_eq): Add const overload. + * breakpoint.c, cli-cmds.c, cli-dump.c, guile/scm-cmd.c, + python/py-cmd.c, target.c, tracepoint.c: Use no-function add_cmd + overload. + +2017-09-27 Tom Tromey + + * macroexp.c (get_next_token_for_substitution): New function. + (substitute_args): Call it. Check for __VA_OPT__. + +2017-09-26 Walfred Tedeschi + Pedro Alves + + * dwarf2read.c (dwarf2_cu): Remove field producer_is_icc and add + producer_is_icc_lt_14. + (producer_is_icc_lt_14): New function. + (check_producer): Add code for checking version of ICC. + (producer_is_icc): Move to producer.c. + (read_structure_type): Restrict ICC workaround to ICC<14. + * producer.c: Include selftest.h. + (producer_is_icc, producer_parsing_tests, _initialize_producer): + New functions. + * producer.h (producer_is_icc): New declaration. + +2017-09-26 Walfred Tedeschi + + * Makefile.in (SFILES): Add producer.c. + (COMMON_OBS): Add producer.o + * amd64-tdep.c (producer.h): Add new include. + * dwarf2read.c (producer.h): Add new include. + * producer.c: New file. + * producer.h: New file. + * utils.c (producer_is_gcc, producer_is_gcc_ge_4): Move to + producer.c. + * utils.h (producer_is_gcc, producer_is_gcc_ge_4): Move to + producer.h. + +2017-09-26 Matthias Klose + + * configure.ac: Search ncursesw before ncurses. + Check ncursesw/ncurses.h before ncurses/ncurses.h. + * gdb_curses.h: Include + * config.in, configure: Regenerate. + +2017-09-26 Rainer Orth + + PR gdb/22185 + * configure.host <*-*-solaris2.[01], *-*-solaris2.[2-9]*>: Mark as + obsolete. + Use gdb_host sol2 for i[34567]86-*-solaris2*, x86_64-*-solaris2*. + Remove i386sol2 support. + * configure.nat : Remove. + : Fold into ... + : ... this. + Move common settings to default section. + Add sol-thread.o. + * configure.tgt : Rename to ... + : ... this. + : Remove. + : Remove. + + * configure.ac: Remove wctype in libw check. + (_MSE_INT_H): Don't define on Solaris 7-9. + : Remove libthread_db.so.1 check. + * configure: Regenerate. + * config.in: Regenerate. + + * proc-service.c: Remove PROC_SERVICE_IS_OLD handling. + (gdb_ps_prochandle_t, gdb_ps_read_buf_t, gdb_ps_write_buf_t) + (gdb_ps_size_t): Remove. + Use base types in users. + * sol-thread.c: Likewise, also for gdb_ps_addr_t. + + * NEWS (Changes since GDB 8.0): Document Solaris 2.0-9 removal. + +2017-09-26 Rainer Orth + + PR build/22206 + * sparc64-tdep.c (adi_tag_fd): Print pid as long. + (adi_is_addr_mapped): Likewise. + (PSR_ICC): Don't redefine. + (PSR_IMPL): Likewise. + +2017-09-25 Tom Tromey + + * regcache.c (regcache::dump): Use string_printf. + +2017-09-25 Tom Tromey + + * regcache.c (class regcache_invalidator): New. + (struct register_to_invalidate): Remove. + (make_cleanup_regcache_invalidate): Remove. + (regcache::raw_write): Use regcache_invalidator. + +2017-09-25 Tom Tromey + + * spu-tdep.c (spu2ppu_sniffer): Update. + * regcache.h (make_cleanup_regcache_xfree): Don't declare. + * regcache.c (do_regcache_xfree, make_cleanup_regcache_xfree): + Remove. + * ppc-linux-tdep.c (ppu2spu_sniffer): Update. + * mi/mi-main.c (mi_cmd_data_list_changed_registers): Update. + * frame.h (frame_save_as_regcache): Return std::unique_ptr. + * frame.c (frame_save_as_regcache): Return std::unique_ptr. + (frame_pop): Update. + +2017-09-25 Tom Tromey + + * spu-tdep.c (spu2ppu_dealloc_cache): Use delete. + * regcache.h (regcache_xfree): Don't declare. + * regcache.c (regcache_xfree): Remove. + (do_regcache_xfree): Use delete. + * ppc-linux-tdep.c (ppu2spu_dealloc_cache): Use delete. + * linux-fork.c (free_fork): Use delete. + (fork_save_infrun_state): Likewise. + * jit.c (jit_dealloc_cache): Use delete. + * infrun.c (discard_infcall_suspend_state): Use delete. + +2017-09-25 Tom Tromey + + * regcache.h (regcache_xmalloc): Don't declare. + (regcache_raw_set_cached_value): Update comment. + * regcache.c (regcache_xmalloc): Remove. + * ppc-linux-tdep.c (ppu2spu_sniffer): Use new. + * jit.c (jit_frame_sniffer): Use new. + * frame.c (frame_save_as_regcache): Use new. + +2017-09-25 Andreas Arnez + + * NEWS: Advertise support for guarded-storage registers on IBM z. + +2017-09-25 Andreas Arnez + + * s390-linux-nat.c (have_regset_gs): New static variable. + (s390_linux_fetch_inferior_registers): Handle guarded-storage + control block and guarded-storage broadcast control regsets. + (s390_read_description): Detect whether the target has + guarded-storage support, return appropriate tdesc. + * s390-linux-tdep.c (features/s390-gs-linux64.c): New include. + (features/s390x-gs-linux64.c): Likewise. + (struct gdbarch_tdep) : New field. + (s390_regmap_gs, s390_regmap_gsbc, s390_gs_regset) + (s390_gsbc_regset): New variables. + (s390_iterate_over_regset_sections): Iterate over s390_gs_regset + and s390_gsbc_regset, if applicable. + (s390_core_read_description): Check whether core file was from a + target with guarded-storage support; include appropriate regsets. + (s390_gdbarch_init): Add registers for guarded-storage support. + (_initialize_s390_tdep): Initialize new target descriptions that + include registers for guarded-storage support. + * s390-linux-tdep.h (HWCAP_S390_GS, S390_GSD_REGNUM) + (S390_GSSM_REGNUM, S390_GSEPLA_REGNUM) + (S390_BC_GSD_REGNUM, S390_BC_GSSM_REGNUM): New defines. + (S390_NUM_REGS): Adjust macro definition. + (s390_gs_regset, s390_gsbc_regset, tdesc_s390_gs_linux64) + (tdesc_s390x_gs_linux64): New declarations. + +2017-09-25 Andreas Arnez + + * features/s390-gs-linux64.xml: New file. + * features/s390-gs.xml: New file. + * features/s390-gsbc.xml: New file. + * features/s390x-gs-linux64.xml: New file. + * features/Makefile (WHICH): Add s390-gs-linux64 and + s390x-gs-linux64. + (s390-gs-linux64-expedite, s390x-gs-linux64-expedite): New macros. + (XMLTOC): Add s390-gs-linux64.xml and s390x-linux64.xml. + * features/s390-gs-linux64.c: New generated file. + * features/s390x-gs-linux64.c: New file. + * regformats/s390-gs-linux64.dat: New file. + * regformats/s390x-gs-linux64.dat: New file. + +2017-09-23 Tom Tromey + + * defs.h (make_cleanup_override_quit_handler): Don't declare. + +2017-09-22 Tom Tromey + + * utils.c (class scoped_input_handler) : Change + type to scoped_restore_tmpl. + : Initialize m_quit_handler directly. + +2017-09-22 Sergio Durigan Junior + + * cli/cli-cmds.c (pwd_command): Use "getcwd (NULL, 0)". + (cd_command): Likewise. Free "current_directory" before + assigning to it. + * main.c (captured_main_1): Use "getcwd (NULL, 0)". + * mi/mi-cmd-env.c (mi_cmd_env_pwd): Likewise. + * top.c (gdb_dirbuf): Remove global declaration. + * top.h (gdb_dirbuf): Likewise. + +2017-09-22 Sergio Durigan Junior + + * gnulib/aclocal.m4: Regenerate. + * gnulib/config.in: Regenerate. + * gnulib/configure: Regenerate. + * gnulib/import/Makefile.am: Regenerate. + * gnulib/import/Makefile.in: Regenerate. + * gnulib/import/assure.h: New file. + * gnulib/import/at-func.c: Likewise + * gnulib/import/chdir-long.c: New file. + * gnulib/import/chdir-long.h: New file. + * gnulib/import/cloexec.c: New file. + * gnulib/import/cloexec.h: New file. + * gnulib/import/close.c: New file. + * gnulib/import/closedir.c: New file. + * gnulib/import/dirent-private.h: New file. + * gnulib/import/dup-safer.c: New file. + * gnulib/import/dup.c: New file. + * gnulib/import/dup2.c: New file. + * gnulib/import/error.c: New file. + * gnulib/import/error.h: New file. + * gnulib/import/exitfail.c: New file. + * gnulib/import/exitfail.h: New file. + * gnulib/import/fchdir.c: New file. + * gnulib/import/fcntl.c: New file. + * gnulib/import/fcntl.in.h: New file. + * gnulib/import/fd-hook.c: New file. + * gnulib/import/fd-hook.h: New file. + * gnulib/import/fd-safer.c: New file. + * gnulib/import/fdopendir.c: New file. + * gnulib/import/filename.h: New file. + * gnulib/import/filenamecat-lgpl.c: New file. + * gnulib/import/filenamecat.h: New file. + * gnulib/import/fstat.c: New file. + * gnulib/import/fstatat.c: New file. + * gnulib/import/getcwd-lgpl.c: New file. + * gnulib/import/getcwd.c: New file. + * gnulib/import/getdtablesize.c: New file. + * gnulib/import/getlogin_r.c: New file. + * gnulib/import/getprogname.c: New file. + * gnulib/import/getprogname.h: New file. + * gnulib/import/gettext.h: New file. + * gnulib/import/glob-libc.h: New file. + * gnulib/import/glob.c: New file. + * gnulib/import/glob.in.h: New file. + * gnulib/import/intprops.h: New file. + * gnulib/import/m4/chdir-long.m4: New file. + * gnulib/import/m4/close.m4: New file. + * gnulib/import/m4/closedir.m4: New file. + * gnulib/import/m4/d-ino.m4: New file. + * gnulib/import/m4/d-type.m4: New file. + * gnulib/import/m4/dup.m4: New file. + * gnulib/import/m4/dup2.m4: New file. + * gnulib/import/m4/error.m4: New file. + * gnulib/import/m4/fchdir.m4: New file. + * gnulib/import/m4/fcntl.m4: New file. + * gnulib/import/m4/fcntl_h.m4: New file. + * gnulib/import/m4/fdopendir.m4: New file. + * gnulib/import/m4/filenamecat.m4: New file. + * gnulib/import/m4/fstat.m4: New file. + * gnulib/import/m4/fstatat.m4: New file. + * gnulib/import/m4/getcwd-abort-bug.m4: New file. + * gnulib/import/m4/getcwd-path-max.m4: New file. + * gnulib/import/m4/getcwd.m4: New file. + * gnulib/import/m4/getdtablesize.m4: New file. + * gnulib/import/m4/getlogin_r.m4: New file. + * gnulib/import/m4/getprogname.m4: New file. + * gnulib/import/m4/glob.m4: New file. + * gnulib/import/m4/gnulib-cache.m4: Regenerate. + * gnulib/import/m4/gnulib-comp.m4: Regenerate. + * gnulib/import/m4/mempcpy.m4: New file. + * gnulib/import/m4/memrchr.m4: New file. + * gnulib/import/m4/mode_t.m4: New file. + * gnulib/import/m4/msvc-inval.m4: New file. + * gnulib/import/m4/msvc-nothrow.m4: New file. + * gnulib/import/m4/open.m4: New file. + * gnulib/import/m4/openat.m4: New file. + * gnulib/import/m4/opendir.m4: New file. + * gnulib/import/m4/readdir.m4: New file. + * gnulib/import/m4/realloc.m4: New file. + * gnulib/import/m4/rewinddir.m4: New file. + * gnulib/import/m4/save-cwd.m4: New file. + * gnulib/import/m4/strdup.m4: New file. + * gnulib/import/m4/strerror.m4: New file. + * gnulib/import/m4/unistd-safer.m4: New file. + * gnulib/import/mempcpy.c: New file. + * gnulib/import/memrchr.c: New file. + * gnulib/import/msvc-inval.c: New file. + * gnulib/import/msvc-inval.h: New file. + * gnulib/import/msvc-nothrow.c: New file. + * gnulib/import/msvc-nothrow.h: New file. + * gnulib/import/open.c: New file. + * gnulib/import/openat-die.c: New file. + * gnulib/import/openat-priv.h: New file. + * gnulib/import/openat-proc.c: New file. + * gnulib/import/openat.c: New file. + * gnulib/import/openat.h: New file. + * gnulib/import/opendir.c: New file. + * gnulib/import/pipe-safer.c: New file. + * gnulib/import/readdir.c: New file. + * gnulib/import/realloc.c: New file. + * gnulib/import/rewinddir.c: New file. + * gnulib/import/save-cwd.c: New file. + * gnulib/import/save-cwd.h: New file. + * gnulib/import/strdup.c: New file. + * gnulib/import/strerror-override.c: New file. + * gnulib/import/strerror-override.h: New file. + * gnulib/import/strerror.c: New file. + * gnulib/import/unistd--.h: New file. + * gnulib/import/unistd-safer.h: New file. + * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add + "getcwd" and "glob". + * ser-tcp.c: Undefine "close" before redefining it. + +2017-09-21 Simon Marchi + + * guile/scm-value.c (gdbscm_value_address): Initialize address, + get rid of res_val. + +2017-09-22 Rainer Orth + + * configure.nat : Add fork-inferior.o to NATDEPFILES. + : Likewise. + : Likewise. + + * warning.m4 (AM_GDB_WARNINGS): Disable -Wunknown-pragmas, + -Wdeprecated-declarations on *-*-solaris*. + * configure: Regenerate. + + * procfs.c: Include "nat/inferior.h". + (procfs_info_proc): Fix typo. + +2017-09-21 Kevin Buettner + + * remote.c (vector): Include. + (struct private_thread_info): Add field, thread_handle. + (free_private_thread_info): Deallocate storage associated with + thread handle. + (get_private_info_thread): Initialize `thread_handle' field. + (struct thread_item): Add field, thread_handle. + (clear_threads_listing_context): Deallocate storage associated + with thread handle. + (start_thread): Add support for "handle" attribute. + (thread_attributes): Add "handle". + (remote_get_threads_with_qthreadinfo): Initialize thread_handle + field. + (remote_update_thread_list): Update thread_handle. + (remote_thread_handle_to_thread_info): New function. + (init_remote_ops): Initialize to_thread_handle_to_thread_info. + +2017-09-21 Kevin Buettner + + * python/py-inferior.c (gdbpy_thread_from_thread_handle): New + function. + (inferior_object_methods): Add gdbpy_thread_from_thread_handle. + * python/python-internal.h (thread_object_type): Declare. + +2017-09-21 Kevin Buettner + + * target.h (struct target_ops): Add to_thread_handle_to_thread_info. + (target_thread_handle_to_thread_info): Declare. + * target.c (target_thread_handle_to_thread_info): New function. + * target-delegates.c: Regenerate. + * gdbthread.h (find_thread_by_handle): Declare. + * thread.c (find_thread_by_handle): New function. + * linux-thread-db.c (thread_db_thread_handle_to_thread_info): New + function. + (init_thread_db_ops): Register thread_db_thread_handle_to_thread_info. + +2017-09-21 Simon Marchi + + * nat/linux-waitpid.c (linux_debug): Add ATTRIBUTE_PRINTF. + +2017-09-21 Simon Marchi + + * microblaze-tdep.c (microblaze_debug): Add ATTRIBUTE_PRINTF. + +2017-09-21 Yao Qi + + * configure.tgt (aarch64*-*-freebsd*): Add fbsd-tdep.o solib-svr4.o + to gdb_target_obs. + +2017-09-20 Tom Tromey + + * breakpoint.c (struct counted_command_line): Remove. + (breakpoint_commands): Update. + (alloc_counted_command_line, incref_counted_command_line) + (decref_counted_command_line, do_cleanup_counted_command_line) + (make_cleanup_decref_counted_command_line): Remove. + (breakpoint_set_commands, commands_command_1, ~bpstats, bpstats) + (bpstat_clear_actions, bpstat_do_actions_1, watchpoint_check) + (bpstat_stop_status, print_one_breakpoint_location, ~breakpoint) + (save_breakpoints): Update. + * breakpoint.h (counted_command_line): Now a typedef to + shared_ptr. + (struct breakpoint) : Now a counted_command_line. + (struct bpstats) : Likewise. + +2017-09-20 Tom Tromey + + * breakpoint.c (struct commands_info, do_map_commands_command): + Remove. + (commands_command_1): Update. + (iterate_over_related_breakpoints): Take a function_view. + (do_delete_breakpoint, do_map_delete_breakpoint): Remove. + (delete_command): Update. + (map_breakpoint_numbers): Take a function_view. + (do_disable_breakpoint, do_map_delete_breakpoint): Remove. + (disable_command): Update. + (do_enable_breakpoint, do_map_enable_breakpoint): Remove. + (enable_command): Update. + (struct disp_data, do_enable_breakpoint_disp) + (do_map_enable_once_breakpoint, do_map_enable_count_breakpoint) + (do_map_enable_delete_breakpoint): Remove. + (enable_once_command, enable_count_command, enable_delete_command) + (delete_trace_variable_command): Update. + +2017-09-20 Tom Tromey + + * breakpoint.c (~bpstats): Rename from bpstat_free. Update. + (bpstat_clear): Use delete. + (bpstats): New constructors. + (bpstat_copy, bpstat_stop_status): Use new. + (dprintf_after_condition_true): Update. + * breakpoint.h (bpstats::bpstats): Add constructors. + (bpstats::~bpstats): Add destructor. + +2017-09-20 Pedro Alves + + * eval.c (make_params): Delete, refactored as ... + (class fake_method): ... this new type's ctor. + (fake_method::~fake_method): New. + (evaluate_subexp_standard): Use 'fake_method'. + +2017-09-20 Tom Tromey + + * windows-nat.c (get_windows_debug_event, windows_wait) + (do_initial_windows_stuff, windows_attach): Update. + * utils.c (vwarning, internal_vproblem): Update. + (ui_unregister_input_event_handler_cleanup) + (prepare_to_handle_input): Remove. + (class scoped_input_handler): New. + (defaulted_query, prompt_for_continue): Update. + * tui/tui-hooks.c (tui_refresh_frame_and_register_information): + Update. + * top.c (undo_terminal_modifications_before_exit): Update. + * target/target.h (target_terminal_init, target_terminal_inferior) + (target_terminal_ours): Don't declare. + (class target_terminal): New. + * target.h (target_terminal_is_inferior, target_terminal_is_ours) + (target_terminal_ours_for_output) + (make_cleanup_restore_target_terminal): Don't declare. + (target_terminal_info): Remove. + * target.c (enum terminal_state, terminal_state): Remove. + (target_terminal::terminal_state): Define. + (target_terminal::init): Rename from target_terminal_init. + (target_terminal::inferior): Rename from + target_terminal_inferior. + (target_terminal::ours): Rename from target_terminal_ours. + (target_terminal::ours_for_output): Rename from + target_terminal_ours_for_output. + (target_terminal::info): New method. + (cleanup_restore_target_terminal) + (make_cleanup_restore_target_terminal): Remove. + * solib.c (handle_solib_event): Update. + * remote.c (remote_serial_quit_handler): Update. + (remote_terminal_inferior, remote_wait_as): Update. + * record-full.c (record_full_wait_1): Update. + * nto-procfs.c (procfs_create_inferior): Update. + * nat/fork-inferior.c (startup_inferior): Update. + * mi/mi-interp.c (mi_new_thread, mi_thread_exit) + (mi_record_changed, mi_inferior_added, mi_inferior_appeared) + (mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed) + (mi_tsv_created, mi_tsv_deleted, mi_tsv_modified) + (mi_breakpoint_created, mi_breakpoint_deleted) + (mi_breakpoint_modified, mi_on_resume, mi_solib_loaded) + (mi_solib_unloaded, mi_command_param_changed, mi_memory_changed) + (mi_user_selected_context_changed, report_initial_inferior): + Update. + * linux-nat.c (linux_nat_attach, linux_nat_terminal_ours) + (linux_nat_terminal_inferior): Update. + * infrun.c (follow_fork_inferior) + (handle_vfork_child_exec_or_exit, do_target_resume) + (check_curr_ui_sync_execution_done, handle_inferior_event_1) + (handle_signal_stop, maybe_remove_breakpoints, normal_stop): + Update. + * inflow.c (child_terminal_init, info_terminal_command): Update. + * infcmd.c (post_create_inferior, continue_1, prepare_one_step) + (attach_command): Update. + * infcall.c (call_thread_fsm_should_stop): Update. + * gnu-nat.c (gnu_attach): Update. + * extension.c (struct active_ext_lang_state) + (restore_active_ext_lang): Update. + * exceptions.c (print_flush): Update. + * event-top.c (async_enable_stdin, default_quit_handler): Update. + (struct quit_handler_cleanup_data, restore_quit_handler) + (restore_quit_handler_dtor, make_cleanup_override_quit_handler): + Remove. + * cp-support.c (gdb_demangle): Update. + * breakpoint.c (update_inserted_breakpoint_locations) + (insert_breakpoint_locations, handle_jit_event) + (disable_breakpoints_in_unloaded_shlib): Update. + * annotate.c (annotate_breakpoints_invalid) + (annotate_frames_invalid): Update. + +2017-09-20 Tom Tromey + + * main.c (catch_command_errors): Rename from + catch_command_errors_const. + (captured_main_1): Update. + +2017-09-20 Pedro Alves + + * cli/cli-cmds.c (list_command): Use print_sal_location. + (print_sal_location): New function. + (ambiguous_line_spec): Use print_sal_location. + * linespec.c (symbol_to_sal): Record the symbol in the sal. + * symtab.c (find_function_start_sal): Likewise. + * symtab.h (symtab_and_line::symbol): New field. + +2017-09-20 Pedro Alves + + * linespec.c (minsym_found): Handle non-text minsyms. + (symbol_to_sal): Record a sal.pc for non-block, non-label symbols. + +2017-09-20 Walfred Tedeschi + + * features/Makefile (i386-avx-mpx-avx512-pku.dat): Add missing + backslash. + +2017-09-20 Walfred Tedeschi + + * gdb.arch/i386-avx512.c (move_zmm_data_to_reg): Use + vmovups instead vmovaps. + (move_zmm_data_to_memory): Use vmovups instead vmovaps. + +2017-09-19 John Baldwin + + * NEWS (Changes since GDB 8.0): Add starti. + * infcmd.c (enum run_break): New. + (run_command_1): Queue pending event for RUN_STOP_AT_FIRST_INSN + case. + (run_command): Use enum run_how. + (start_command): Likewise. + (starti_command): New function. + (RUN_ARGS_HELP): New macro. + (_initialize_infcmd): Use RUN_ARGS_HELP for run and start + commands. Add starti command. + +2017-09-19 Yao Qi + + * Makefile.in (monitor.o): Remove the rule. + +2017-09-19 Yao Qi + + * annotate.h (struct annotate_arg_emitter): Use + DISABLE_COPY_AND_ASSIGN. + * common/refcounted-object.h (refcounted_object): Likewise. + * completer.h (struct completion_result): Likewise. + * dwarf2read.c (struct dwarf2_per_objfile): Likewise. + * filename-seen-cache.h (filename_seen_cache): Likewise. + * gdbcore.h (thread_section_name): Likewise. + * gdb_regex.h (compiled_regex): Likewise. + * gdbthread.h (scoped_restore_current_thread): Likewise. + * inferior.h (scoped_restore_current_inferior): Likewise. + * jit.c (jit_reader): Likewise. + * linespec.h (struct linespec_result): Likewise. + * mi/mi-parse.h (struct mi_parse): Likewise. + * nat/fork-inferior.c (execv_argv): Likewise. + * progspace.h (scoped_restore_current_program_space): Likewise. + * python/python-internal.h (class gdbpy_enter): Likewise. + * regcache.h (regcache): Likewise. + * target-descriptions.c (struct tdesc_reg): Likewise. + (struct tdesc_type): Likewise. + (struct tdesc_feature): Likewise. + * ui-out.h (ui_out_emit_type): Likewise. + +2017-09-18 Simon Marchi + + * dwarf2expr.c (dwarf_expr_context::execute_stack_op): Remove + label abort_expression. + +2017-09-16 Simon Marchi + + * common/buffer.c (buffer_xml_printf): Adjust. + * common/xml-utils.c (xml_escape_text): Change return type to + std::string, update code accordingly. + * common/xml-utils.h (xml_escape_text): Change return type to + std::string. + * rs6000-aix-tdep.c (rs6000_aix_shared_library_to_xml): Adjust. + * windows-tdep.c (windows_xfer_shared_library): Adjust. + * unittests/xml-utils-selftests.c (test_xml_escape_text): + Adjust. + +2017-09-16 Simon Marchi + + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new source file. + (SUBDIR_UNITTESTS_OBS): Add new object file. + * unittests/xml-utils-selftests.c: New file. + +2017-09-16 Simon Marchi + + * common/selftest.h (selftest): New struct/interface. + (register_test): Add name parameter, add new overload. + (run_tests): Add filter parameter. + (for_each_selftest_ftype): New typedef. + (for_each_selftest): New declaration. + * common/selftest.c (tests): Change type to + map>. + (simple_selftest): New struct. + (register_test): New function. + (register_test): Add name parameter and use it. + (run_tests): Add filter parameter and use it. Add prints. + Adjust to vector -> map change. + * aarch64-tdep.c (_initialize_aarch64_tdep): Add names when + registering selftests. + * arm-tdep.c (_initialize_arm_tdep): Likewise. + * disasm-selftests.c (_initialize_disasm_selftests): Likewise. + * dwarf2-frame.c (_initialize_dwarf2_frame): Likewise. + * dwarf2loc.c (_initialize_dwarf2loc): Likewise. + * findvar.c (_initialize_findvar): Likewise. + * gdbarch-selftests.c (_initialize_gdbarch_selftests): Likewise. + * maint.c (maintenance_selftest): Update call to run_tests. + (maintenance_info_selftests): New function. + (_initialize_maint_cmds): Register "maintenance info selftests" + command. Update "maintenance selftest" doc. + * regcache.c (_initialize_regcache): Add names when registering + selftests. + * rust-exp.y (_initialize_rust_exp): Likewise. + * selftest-arch.c (gdbarch_selftest): New struct. + (gdbarch_tests): Remove. + (register_test_foreach_arch): Add name parameter. Call + register_test. + (tests_with_arch): Remove, move most content to + gdbarch_selftest::operator(). + (_initialize_selftests_foreach_arch): Remove. + * selftest-arch.h (register_test_foreach_arch): Add name + parameter. + (run_tests_with_arch): New declaration. + * utils-selftests.c (_initialize_utils_selftests): Add names + when registering selftests. + * utils.c (_initialize_utils): Likewise. + * unittests/array-view-selftests.c + (_initialize_array_view_selftests): Likewise. + * unittests/environ-selftests.c (_initialize_environ_selftests): + Likewise. + * unittests/function-view-selftests.c + (_initialize_function_view_selftests): Likewise. + * unittests/offset-type-selftests.c + (_initialize_offset_type_selftests): Likewise. + * unittests/optional-selftests.c + (_initialize_optional_selftests): Likewise. + * unittests/scoped_restore-selftests.c + (_initialize_scoped_restore_selftests): Likewise. + * NEWS: Document "maintenance selftest" and "maint info + selftests". + +2017-09-16 Simon Marchi + + * mi/mi-main.c (mi_load_progress): Restore current_uiout using a + scoped_restore. + +2017-09-16 Simon Marchi + + * mi/mi-main.c (mi_load_progress): Make uiout variable + a unique_ptr. + 2017-09-15 Pedro Alves * compile/compile-c-types.c (convert_enum, convert_int)