]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/procfs.c
-Wwrite-strings: More Solaris
authorPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:37 +0000 (19:21 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:37 +0000 (19:21 +0100)
commit995816ba55d952b2823d2ead66495c5cad6dfe58
treed2d9a758f0156e7589f4f6be87a483e8fe3cd6f4
parent3e83a920090130052a407621b94b94513f539fda
-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  <palves@redhat.com>

* 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
gdb/proc-api.c
gdb/proc-events.c
gdb/proc-flags.c
gdb/proc-utils.h
gdb/proc-why.c
gdb/procfs.c
gdb/sol-thread.c