Constify maintenance_print_reggroups
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6eb730f40f6081485168199bc35bcae38ce33593..32d1ee2c41870fc50fcecb1f0d0e234cf8b8dbee 100644 (file)
@@ -1,3 +1,448 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * reggroups.c (maintenance_print_reggroups): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (save_gdb_index_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * stap-probe.c (info_probes_stap_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * fork-child.c (unset_exec_wrapper_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * reverse.c (delete_bookmark_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * cli/cli-cmds.h (cd_command): Constify.
+       * cli/cli-cmds.c (cd_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * thread.c (thread_name_command, thread_find_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * probe.c (enable_probes_command, disable_probes_command):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * remote-fileio.c (set_system_call_allowed)
+       (show_system_call_allowed): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * ax-gdb.c (maint_agent_printf_command, agent_command)
+       (agent_eval_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * source.c (show_substitute_path_command)
+       (unset_substitute_path_command, set_substitute_path_command):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * hppa-tdep.c (unwind_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * target-descriptions.c (unset_tdesc_filename_cmd)
+       (maint_print_c_tdesc_cmd, maintenance_check_xml_descriptions):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * dummy-frame.c (maintenance_print_dummy_frames): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c (tui_enable_command, tui_disable_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_reg_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * skip.c (skip_file_command, skip_function_command)
+       (skip_enable_command, skip_disable_command, skip_delete_command):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * record-btrace.c (cmd_record_btrace_bts_start)
+       (cmd_record_btrace_pt_start): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * top.c (new_ui_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-script.c (user_defined_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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) <func>: Constify.
+       (add_dump_command): Update.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-cmds.c (show_version, show_configuration)
+       (source_command, show_user): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * target.c (maintenance_print_target_stack): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * interps.c (interpreter_exec_cmd): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * record-full.c (cmd_record_full_restore): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * memattr.c (enable_mem_command, disable_mem_command)
+       (delete_mem_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * value.c (show_convenience): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * gdbcore.h (core_file_command): Update.
+       * corefile.c (core_file_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * user-regs.c (maintenance_print_user_registers): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cp-namespace.c (maintenance_cplus_namespace): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cp-support.c (first_component_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * psymtab.c (maintenance_print_psymbols)
+       (maintenance_info_psymtabs, maintenance_check_psymtabs):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * windows-tdep.c (display_tib): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * linux-fork.c (delete_checkpoint_command)
+       (detach_checkpoint_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * arc-tdep.c (dump_arc_instruction_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (set_radix, show_radix): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * dtrace-probe.c (info_probes_dtrace_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * gdb_bfd.c (maintenance_info_bfds): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * 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) <function>: 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  <tom@tromey.com>
+
+       * macroexp.c (get_next_token_for_substitution): New function.
+       (substitute_args): Call it.  Check for __VA_OPT__.
+
+2017-09-26  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+           Pedro Alves <palves@redhat.com>
+
+       * 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  <walfred.tedeschi@intel.com>
+
+       * 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  <doko@ubuntu.com>
+
+       * configure.ac: Search ncursesw before ncurses.
+       Check ncursesw/ncurses.h before ncurses/ncurses.h.
+       * gdb_curses.h: Include <ncursesw/ncurses.h>
+       * config.in, configure: Regenerate.
+
+2017-09-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       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 <i386sol2>: Remove.
+       <sol2-64>: Fold into ...
+       <sol2>: ... this.
+       Move common settings to default section.
+       Add sol-thread.o.
+       * configure.tgt <i[34567]86-*-solaris2.1[0-9]*,
+       x86_64-*-solaris2.1[0-9]*>: Rename to ...
+       <i[34567]86-*-solaris2*, x86_64-*-solaris2*>: ... this.
+       <i[34567]86-*-solaris*>: Remove.
+       <sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*>: Remove.
+
+       * configure.ac: Remove wctype in libw check.
+       (_MSE_INT_H): Don't define on Solaris 7-9.
+       <solaris*>: 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  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       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  <tom@tromey.com>
+
+       * regcache.c (regcache::dump): Use string_printf.
+
+2017-09-25  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <arnez@linux.vnet.ibm.com>
+
+       * NEWS: Advertise support for guarded-storage registers on IBM z.
+
 2017-09-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
        * s390-linux-nat.c (have_regset_gs): New static variable.
This page took 0.032352 seconds and 4 git commands to generate.