From 995816ba55d952b2823d2ead66495c5cad6dfe58 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 5 Apr 2017 19:21:37 +0100 Subject: -Wwrite-strings: More Solaris Some obvious constifications found by attempting to build 64-bit GDB on Solaris 11. gdb/ChangeLog: 2017-04-05 Pedro Alves * proc-api.c (struct trans): Constify. (procfs_note): Constify. * proc-events.c (struct trans, syscall_table): * proc-flags.c (struct trans): Constify. * proc-utils.h (procfs_note): Constify. * proc-why.c (struct trans): Constify. * procfs.c (dead_procinfo, find_syscall, proc_warn, proc_error) (procfs_detach): Constify. * sol-thread.c (struct string_map): Constify. (td_err_string, td_state_string): Constify. --- gdb/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f4e9562..3a40ad9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 2017-04-05 Pedro Alves + * proc-api.c (struct trans): Constify. + (procfs_note): Constify. + * proc-events.c (struct trans, syscall_table): + * proc-flags.c (struct trans): Constify. + * proc-utils.h (procfs_note): Constify. + * proc-why.c (struct trans): Constify. + * procfs.c (dead_procinfo, find_syscall, proc_warn, proc_error) + (procfs_detach): Constify. + * sol-thread.c (struct string_map): Constify. + (td_err_string, td_state_string): Constify. + +2017-04-05 Pedro Alves + * proc-api.c (procfs_filename): Don't initialize procfs_filename. (prepare_to_trace): Assume procfs_filename is non-NULL. -- cgit v1.1