Constify some commands in symfile.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 54eadaef98f707049f0a3fdcfc4780cbd8e78fe9..76585e84cfbe5b988872b1e3d93e74edd3623a6a 100644 (file)
@@ -1,3 +1,317 @@
+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.
+       (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) <have_gs>: 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  <arnez@linux.vnet.ibm.com>
+
+       * 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  <tom@tromey.com>
+
+       * defs.h (make_cleanup_override_quit_handler): Don't declare.
+
+2017-09-22  Tom Tromey  <tom@tromey.com>
+
+       * utils.c (class scoped_input_handler) <m_quit_handler>: Change
+       type to scoped_restore_tmpl.
+       <scoped_input_handler>: Initialize m_quit_handler directly.
+
 2017-09-22  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * cli/cli-cmds.c (pwd_command): Use "getcwd (NULL, 0)".
This page took 0.03252 seconds and 4 git commands to generate.