Constify some commands in symfile.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2c825efb91719f89127013ee48a4904b84c451a6..76585e84cfbe5b988872b1e3d93e74edd3623a6a 100644 (file)
@@ -1,3 +1,178 @@
+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
This page took 0.02811 seconds and 4 git commands to generate.