-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bf5869053546b16f9b2cc7a58d3e2f1c6ce860ab..f0219682c50d1afa7d0f67085b3a4ac6e2415d45 100644 (file)
@@ -1,3 +1,138 @@
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * aix-thread.c (aix_thread_pid_to_str)
+       (aix_thread_extra_thread_info): Constify.
+       * bsd-kvm.c (bsd_kvm_pid_to_str): Constify.
+       * bsd-uthread.c (bsd_uthread_extra_thread_info)
+       (bsd_uthread_pid_to_str): Constify.
+       * corelow.c (core_pid_to_str): Constify.
+       * darwin-nat.c (darwin_pid_to_str): Constify.
+       * fbsd-nat.c (fbsd_pid_to_str): Constify.
+       * fbsd-tdep.c (fbsd_core_pid_to_str, gdbarch_core_pid_to_str):
+       Constify.
+       * gnu-nat.c (gnu_pid_to_str): Constify.
+       * go32-nat.c (go32_pid_to_str): Constify.
+       * i386-cygwin-tdep.c (i386_windows_core_pid_to_str): Constify.
+       * inf-ptrace.c (inf_ptrace_pid_to_str): Constify.
+       * inferior.c (inferior_pid_to_str): Constify.
+       * linux-nat.c (linux_nat_pid_to_str): Constify.
+       * linux-tdep.c (linux_core_pid_to_str): Constify.
+       * linux-thread-db.c (thread_db_pid_to_str)
+       (thread_db_extra_thread_info): Constify.
+       * nto-tdep.c (nto_extra_thread_info): Constify.
+       * nto-tdep.h (nto_extra_thread_info): Constify.
+       * obsd-nat.c (obsd_pid_to_str): Constify.
+       * procfs.c (procfs_pid_to_str): Constify.
+       * ravenscar-thread.c (ravenscar_extra_thread_info)
+       (ravenscar_pid_to_str): Constify.
+       * remote-sim.c (gdbsim_pid_to_str): Constify.
+       * remote.c (remote_threads_extra_info, remote_pid_to_str):
+       Constify.
+       * sol-thread.c (solaris_pid_to_str): Constify.
+       * sol2-tdep.c (sol2_core_pid_to_str): Constify.
+       * sol2-tdep.h (sol2_core_pid_to_str): Constify.
+       * target.c (default_pid_to_str, target_pid_to_str)
+       (normal_pid_to_str, default_pid_to_str): Constify.
+       * target.h (target_ops::to_pid_to_str)
+       (target_ops::to_extra_thread_info): Constify.
+       (target_pid_to_str, normal_pid_to_str): Constify.
+       * windows-nat.c (windows_pid_to_str): Constify.
+       * gdbarch.sh (core_pid_to_str): Constify.
+       * target-delegates.c: Regenerate.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2017-04-05  Pedro Alves         <palves@redhat.com>
+
+       * main.c (captured_main_1): Use gdb::unique_xmalloc_ptr to manage
+       the memory of the temporary warning_pre_print override.
+       * utils.c (warning_pre_print): Constify.
+       * utils.h (warning_pre_print): Constify.
+
+2017-04-05  Pedro Alves         <palves@redhat.com>
+
+       * cli/cli-cmds.c (shell_escape): Constify 'arg' parameter.
+       (shell_command): New function.
+       (make_command): Use std::string.
+       (init_cli_cmds): Register shell_command instead of shell_escape.
+
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (dprintf_function, dprintf_channel): Don't initialize.
+       * tracepoint.c (default_collect): Don't initialize.
+
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * macroexp.c (macro_buffer::shared): Now a bool.
+       (init_buffer): Update.
+       (init_shared_buffer): Constify 'addr' parameter.
+       (substitute_args, expand, macro_expand, macro_expand_next): Remove
+       casts.
+
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * arm-tdep.c (show_disassembly_style_sfunc): Constify local.
+       * disasm.c (set_disassembler_options): Constify local.
+       * i386-tdep.c (i386_print_insn): Remove cast and FIXME comment.
+
+2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR gdb/21352
+       * tracefile.c (tsave_command): Fix argument parsing for '-r'
+       option.
+
+2017-04-05  Yao Qi  <yao.qi@linaro.org>
+
+       * frame.c (frame_unwind_register_unsigned): Call
+       frame_unwind_register_value.
+
+2017-04-05  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.threads/thread-specific-bp.exp (check_thread_specific_breakpoint):
+       Use gdb_test_multiple, and don't match anchor.
+
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS (Global Maintainers): Add Simon Marchi.
+       (Write After Approval): Remove Simon Marchi.
+
+2017-04-05  Pedro Alves  <palves@redhat.com>
+
+       * common/gdb_optional.h (optional::optional): Make constexpr and
+       initialize m_dummy.
+
+2017-04-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * amd64-fbsd-tdep.c: Remove "bsd-uthread.h" include.
+       (amd64fbsd_jmp_buf_reg_offset): Remove.
+       (amd64fbsd_supply_uthread): Remove function.
+       (amd64fbsd_collect_uthread): Remove function.
+       (amd64fbsd_init_abi): Don't set bsd-uthread callbacks.
+       * configure.tgt (i[34567]86-*-freebsd*): Remove bsd-uthread.o.
+       (x86_64-*-freebsd*): Remove bsd-uthread.o.
+       (fbsd-nat.c): Update comment.
+       * i386-fbsd-tdep.c: Remove "bsd-uthread.h" include.
+       (i386fbsd_jmp_buf_reg_offset): Remove.
+       (i386fbsd_supply_uthread): Remove function.
+       (i386fbsd_collect_uthread): Remove function.
+       (i386fbsd_init_abi): Don't set bsd-uthread callbacks.
+
+2017-04-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-fbsd-tdep.o.
+       (ALLDEPFILES): Remove alpha-fbsd-tdep.c
+       * NEWS: Mention that support for FreeBSD/alpha was removed.
+       * alpha-fbsd-tdep.c: Delete file.
+       * config/alpha/fbsd.mh: Delete file.
+       * configure.host: Delete alpha*-*-freebsd* and
+       alpha*-*-kfreebsd*-gnu.
+       * configure.tgt: Delete alpha*-*-freebsd* and
+       alpha*-*-kfreebsd*-gnu.
+
+2017-04-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * amd64-bsd-nat.c (amd64bsd_fetch_inferior_registers,
+       amd64bsd_store_inferior_registers): Use ptid from regcache.
+
 2017-04-04  Pedro Alves  <palves@redhat.com>
 
        * dwarf2read.c (lnp_state_machine): Now a class.  Initialize all
This page took 0.024659 seconds and 4 git commands to generate.