X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=989c12718f5d0bb7f5ee5702486b177d992e32ee;hb=726b2169b4cda6a0267cb2986ada758270cff093;hp=11c20d8a0805df6286579f95cd489420137dd6b8;hpb=57f5a81bd240459edbdac1628800291e7535ed02;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 11c20d8a08..989c12718f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,542 @@ +2017-09-29 Tom Tromey + + * xstormy16-tdep.c (xstormy16_push_dummy_call): Use + gdb::byte_vector. + +2017-09-29 Tom Tromey + + * complaints.c (vcomplaint): Use std::string. + +2017-09-29 Tom Tromey + + * tracepoint.c (trace_variable_command): Use std::string. + (encode_actions_1): Remove unused declarations. + (create_tsv_from_upload): Use std::string. + +2017-09-29 Tom Tromey + + * cp-support.c (gdb_demangle): Use std::string. + +2017-09-29 Tom Tromey + + * stack.c (parse_frame_specification): Use std::string + (info_frame_command): Use gdb::unique_xmalloc_ptr. + +2017-09-29 Tom Tromey + + * tilegx-tdep.c (tilegx_push_dummy_call): Use gdb::byte_vector. + +2017-09-29 Tom Tromey + + * utils.c (vfprintf_maybe_filtered): Use std::string. + (vfprintf_unfiltered): Likewise. + +2017-09-29 Tom Tromey + + * event-top.c (top_level_prompt): Return std::string. + (display_gdb_prompt): Update. + +2017-09-29 Tom Tromey + + * unittests/common-utils-selftests.c (format): New function. + (string_vprintf_tests): New function. + (_initialize_common_utils_selftests): Register new tests. + * common/common-utils.c (string_vprintf): New function. + * common/common-utils.h (string_vprintf): Declare. + +2017-09-29 Pedro Alves + + * common/rsp-low.c (unpack_varlen_hex): Constify. + * common/rsp-low.h (unpack_varlen_hex): Constify. + * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): + Constify. + * remote.c (remote_set_permissions, read_ptid) + (remote_current_thread, remote_get_threads_with_qthreadinfo) + (remote_static_tracepoint_marker_at) + (remote_static_tracepoint_markers_by_strid) + (stop_reply_extract_thread, remote_parse_stop_reply): Constify. + * tracepoint.c (parse_trace_status, parse_tracepoint_status) + (parse_tracepoint_definition, parse_tsv_definition) + (parse_static_tracepoint_marker_definition): Constify. + * tracepoint.h (parse_static_tracepoint_marker_definition) + (parse_trace_status, parse_tracepoint_status) + (parse_tracepoint_definition, parse_tsv_definition): Constify. + +2017-09-29 Pedro Alves + + * remote.c (target_buf, target_buf_size): Delete. + (remote_get_noisy_reply): Remove buf_p and sizeof_buf parameters. + Use the connection's packet buffer instead. + All callers adjusted. + (_initialize_remote): Remove references to target_buf and + target_buf_size. + +2017-09-28 Pedro Alves + + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add + unittests/common-utils-selftests.c. + (SUBDIR_UNITTESTS_OBS): Add common-utils-selftests.o. + (COMMON_OBS): Remove utils-selftests.o. + * utils-selftests.c: Move to ... + * unittests/common-utils-selftests.c: ... here and rename self + test to "string_printf". + +2017-09-28 Alexander Shaposhnikov (tiny patch) + + * dwarf2read.c (open_and_init_dwp_file): Protect against dwp_file + having NULL cus or tus. + +2017-09-27 Ulrich Weigand + + * arm-tdep.c: (convert_from_extended): Remove. + (convert_to_extended): Likewise. + (arm_extract_return_value): Use convert_typed_floating. + (arm_store_return_value): Likewise. + + * sh-tdep.h (struct gdbarch_tdep): Add sh_littlebyte_bigword_type. + * sh-tdep.c: Do not include "floatformat.h". + (sh_littlebyte_bigword_type): New function. + (sh_register_convert_to_virtual): Use convert_typed_floating. + (sh_register_convert_to_raw): Likewise. + * sh64-tdep.c: (struct gdbarch_tdep): Add sh_littlebyte_bigword_type. + (sh64_littlebyte_bigword_type): New function. + (sh64_extract_return_value): Use convert_typed_floating. + (sh64_register_convert_to_virtual): Likewise. + (sh64_register_convert_to_raw): Likewise. + +2017-09-27 Ulrich Weigand + + * doublest.h (floatformat_from_type): Move to gdbtypes.h. + * doublest.c (floatformat_from_type): Move to gdbtypes.c. + + * gdbtypes.h (union type_specific): Make field floatformat hold + just a single struct floatformat, not an array. + (floatformat_from_type): Move here. + * gdbtypes.c (floatformat_from_type): Move here. Update to + changed TYPE_FLOATFORMAT definition. + (verify_floatformat): Update to changed TYPE_FLOATFORMAT. + (recursive_dump_type): Likewise. + (init_float_type): Install correct floatformat for byte order. + (arch_float_type): Likewise. + +2017-09-27 Ulrich Weigand + + * gdbtypes.c (init_type): Change incoming argument from + length-in-bytes to length-in-bits. Assert length is a + multiple of TARGET_CHAR_BITS. + (arch_type, arch_flags_type): Likewise. + (init_integer_type): Update call to init_type. + (init_character_type): Likewise. + (init_boolean_type): Likewise. + (init_float_type): Likewise. + (init_decfloat_type): Likewise. + (init_complex_type): Likewise. + (init_pointer_type): Likewise. + (objfile_type): Likewise. + (arch_integer_type): Update call to arch_type. + (arch_character_type): Likewise. + (arch_boolean_type): Likewise. + (arch_float_type): Likewise. + (arch_decfloat_type): Likewise. + (arch_complex_type): Likewise. + (arch_pointer_type): Likewise. + (gdbtypes_post_init): Likewise. + + * dwarf2read.c (dwarf2_init_float_type): Update call to init_type. + (read_base_type): Likewise. + * mdebugread.c (basic_type): Likewise. + * stabsread.c (dbx_init_float_type): Likewise. + (rs6000_builtin_type): Likewise. + (read_range_type): Likewise. Also, fix call to init_integer_type + with erroneous length argument. + + * ada-lang.c (ada_language_arch_info): Update call to arch_type. + * d-lang.c (build_d_types): Likewise. + * f-lang.c (build_fortran_types): Likewise. + * go-lang.c (build_go_types): Likewise. + * opencl-lang.c (build_opencl_types): Likewise. + * jit.c (finalize_symtab): Likewise. + * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. + (build_std_type_info_type): Likewise. + * target-descriptions.c (tdesc_gdb_type): Likewise. Also, + update call to arch_flags_type. + + * linux-tdep.c (linux_get_siginfo_type_with_fields): Update call to + arch_type. + * fbsd-tdep.c (fbsd_get_siginfo_type): Likewise. + * windows-tdep.c (windows_get_tlb_type): Likewise. + + * avr-tdep.c (avr_gdbarch_init): Update call to arch_type. + * ft32-tdep.c (ft32_gdbarch_init): Likewise. + * m32c-tdep.c (make_types): Likewise. + * rl78-tdep.c (rl78_gdbarch_init): Likewise. + (rl78_psw_type): Update call to arch_flags_type. + * m68k-tdep.c (m68k_ps_type): Update call to arch_flags_type. + * rx-tdep.c (rx_psw_type): Likewise. + (rx_fpsw_type): Likewise. + * sparc-tdep.c (sparc_psr_type): Likewise. + (sparc_fsr_type): Likewise. + * sparc64-tdep.c (sparc64_pstate_type): Likewise. + (sparc64_ccr_type): Likewise. + (sparc64_fsr_type): Likewise. + (sparc64_fprs_type): Likewise. + +2017-09-27 Tom Tromey + + * findcmd.c (find_command): Constify. + +2017-09-27 Tom Tromey + + * ada-tasks.c (task_command_1, task_command): Constify. + +2017-09-27 Tom Tromey + + * symtab.c (maintenance_print_symbol_cache) + (maintenance_flush_symbol_cache) + (maintenance_print_symbol_cache_statistics): Constify. + +2017-09-27 Tom Tromey + + * inferior.c (detach_inferior_command, kill_inferior_command) + (inferior_command): Constify. + +2017-09-27 Tom Tromey + + * regcache.c (regcache_print, maintenance_print_registers) + (maintenance_print_raw_registers) + (maintenance_print_cooked_registers) + (maintenance_print_register_groups) + (maintenance_print_remote_registers): Constify. + +2017-09-27 Tom Tromey + + * printcmd.c (map_display_numbers, undisplay_command) + (enable_disable_display_command, enable_display_command) + (disable_display_command): Constify. + +2017-09-27 Tom Tromey + + * breakpoint.h (delete_command): Don't declare. + * breakpoint.c (delete_command, enable_once_command) + (enable_count_command, enable_delete_command, breakpoint_1) + (maintenance_info_breakpoints, stopin_command, stopat_command) + (delete_command, delete_trace_command, save_breakpoints) + (save_breakpoints_command, save_tracepoints_command): Constify. + +2017-09-27 Tom Tromey + + * macrocmd.c (macro_expand_command, macro_expand_once_command) + (skip_ws, extract_identifier, macro_define_command) + (macro_undef_command, macro_list_command): Constify. + +2017-09-27 Tom Tromey + + * infcmd.c (environment_info, set_environment_command) + (unset_environment_command, path_info, info_proc_cmd_1) + (info_proc_cmd_mappings, info_proc_cmd_stat) + (info_proc_cmd_status, info_proc_cmd_cwd, info_proc_cmd_cmdline) + (info_proc_cmd_exe, info_proc_cmd_all): Constify. + +2017-09-27 Tom Tromey + + * i386-tdep.c (i386_mpx_info_bounds, i386_mpx_set_bounds): + Constify. + +2017-09-27 Tom Tromey + + * symfile-mem.c (add_symbol_file_from_memory_command): Constify. + +2017-09-27 Tom Tromey + + * demangle.c (demangle_command): Constify. + +2017-09-27 Tom Tromey + + * progspace.c (maintenance_info_program_spaces_command): + Constify. + +2017-09-27 Tom Tromey + + * compile/compile.c (check_raw_argument, compile_file_command) + (compile_code_command, compile_print_command): Constify. + +2017-09-27 Tom Tromey + + * reggroups.c (maintenance_print_reggroups): Constify. + +2017-09-27 Tom Tromey + + * dwarf2read.c (save_gdb_index_command): Constify. + +2017-09-27 Tom Tromey + + * stap-probe.c (info_probes_stap_command): Constify. + +2017-09-27 Tom Tromey + + * fork-child.c (unset_exec_wrapper_command): Constify. + +2017-09-27 Tom Tromey + + * btrace.c (get_uint, get_context_size, no_chunk) + (maint_btrace_packet_history_cmd) + (maint_btrace_clear_packet_history_cmd, maint_btrace_clear_cmd) + (maint_info_btrace_cmd): Constify. + +2017-09-27 Tom Tromey + + * reverse.c (delete_bookmark_command): Constify. + +2017-09-27 Tom Tromey + + * remote.c (set_memory_packet_size) + (set_memory_write_packet_size, show_memory_write_packet_size) + (set_memory_read_packet_size, show_memory_read_packet_size) + (compare_sections_command, packet_command, remote_put_command) + (remote_get_command, remote_delete_command): Constify. + +2017-09-27 Tom Tromey + + * mips-tdep.c (show_mipsfpu_command, set_mipsfpu_single_command) + (set_mipsfpu_double_command, set_mipsfpu_none_command) + (set_mipsfpu_auto_command): Constify. + +2017-09-27 Tom Tromey + + * cli/cli-cmds.h (cd_command): Constify. + * cli/cli-cmds.c (cd_command): Constify. + +2017-09-27 Tom Tromey + + * thread.c (thread_name_command, thread_find_command): Constify. + +2017-09-27 Tom Tromey + + * probe.c (enable_probes_command, disable_probes_command): + Constify. + +2017-09-27 Tom Tromey + + * symfile.c (symbol_file_command): Constify. + * gdbcore.h (deprecated_file_changed_hook): Constify. + * exec.c (deprecated_file_changed_hook, exec_file_command) + (file_command): Constify. + * defs.h (symbol_file_command): Constify. + +2017-09-27 Tom Tromey + + * remote-fileio.c (set_system_call_allowed) + (show_system_call_allowed): Constify. + +2017-09-27 Tom Tromey + + * tracepoint.c (delete_trace_variable_command) + (tfind_end_command, tfind_start_command, tfind_pc_command) + (tfind_tracepoint_command, tfind_line_command) + (tfind_range_command, tfind_outside_command): Constify. + +2017-09-27 Tom Tromey + + * ax-gdb.c (maint_agent_printf_command, agent_command) + (agent_eval_command): Constify. + +2017-09-27 Tom Tromey + + * tracepoint.c (info_scope_command): Constify. + * python/python.c (gdbpy_decode_line): Constify. + * python/py-breakpoint.c (bppy_init): Constify. + * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Constify. + * location.h: (new_linespec_location) + (string_to_event_location_basic, string_to_event_location): + Constify. + * location.c (new_linespec_location) + (string_to_event_location_basic, string_to_event_location): + Constify. + * linespec.h (decode_line_with_current_source) + (decode_line_with_last_displayed, linespec_lex_to_end): Constify. + * linespec.c (linespec_lex_to_end) + (decode_line_with_current_source) + (decode_line_with_last_displayed): Constify. + * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): + Constify. + * cli/cli-cmds.c (edit_command, list_command): Constify. + * breakpoint.h (until_break_command, watch_command_wrapper) + (awatch_command_wrapper, rwatch_command_wrapper) + (init_ada_exception_breakpoint): Constify. + * breakpoint.c (break_command_1, dprintf_command) + (break_range_command, watch_command_wrapper) + (rwatch_command_wrapper, awatch_command_wrapper) + (until_break_command, init_ada_exception_breakpoint) + (strace_marker_create_sals_from_location, trace_command) + (ftrace_command, strace_command, struct tracepoint): Constify. + * ax-gdb.c (agent_command_1): Constify. + * ada-lang.c (ada_exception_sal): Constify. + +2017-09-27 Tom Tromey + + * record.c (cmd_record_delete, cmd_record_stop, cmd_record_save) + (cmd_record_goto_begin, cmd_record_goto_end, get_insn_number) + (get_context_size, no_chunk, get_insn_history_modifiers) + (cmd_record_insn_history, get_call_history_modifiers) + (cmd_record_call_history): Constify. + +2017-09-27 Tom Tromey + + * source.c (show_substitute_path_command) + (unset_substitute_path_command, set_substitute_path_command): + Constify. + +2017-09-27 Tom Tromey + + * typeprint.c (maintenance_print_type): Constify. + * maint.c (maintenance_dump_me, maintenance_demangle) + (maintenance_time_display, maintenance_info_sections) + (maintenance_print_statistics, maintenance_deprecate) + (maintenance_undeprecate): Constify. + (maintenance_do_deprecate): Constify. Use std::string. + (maintenance_selftest): Constify. + * gdbtypes.h (maintenance_print_type): Constify. + +2017-09-27 Tom Tromey + + * hppa-tdep.c (unwind_command): Constify. + +2017-09-27 Tom Tromey + + * target-descriptions.c (unset_tdesc_filename_cmd) + (maint_print_c_tdesc_cmd, maintenance_check_xml_descriptions): + Constify. + +2017-09-27 Tom Tromey + + * dummy-frame.c (maintenance_print_dummy_frames): Constify. + +2017-09-27 Tom Tromey + + * tui/tui.c (tui_enable_command, tui_disable_command): Constify. + +2017-09-27 Tom Tromey + + * tui/tui-regs.c (tui_reg_command): Constify. + +2017-09-27 Tom Tromey + + * skip.c (skip_file_command, skip_function_command) + (skip_enable_command, skip_disable_command, skip_delete_command): + Constify. + +2017-09-27 Tom Tromey + + * record-btrace.c (cmd_record_btrace_bts_start) + (cmd_record_btrace_pt_start): Constify. + +2017-09-27 Tom Tromey + + * symmisc.c (maintenance_print_symbols) + (maintenance_print_msymbols, maintenance_print_objfiles) + (maintenance_info_symtabs, maintenance_check_symtabs) + (maintenance_expand_symtabs, maintenance_info_line_tables): + Constify. + +2017-09-27 Tom Tromey + + * top.c (new_ui_command): Constify. + +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.