summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/gdbreplay.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-01-15 22:07:20 +0000
committerDoug Evans <dje@google.com>2009-01-15 22:07:20 +0000
commit5436304513349c5447b61f8b5ed6c38d77c5f0d9 (patch)
tree23b32c6ae038923f720173289f7804d7386b1c30 /gdb/gdbserver/gdbreplay.c
parent99e9a495d54f59d91ec80973182c8832509274ee (diff)
downloadbinutils-gdb-5436304513349c5447b61f8b5ed6c38d77c5f0d9.tar.gz
* target.h (target_signal_to_string): Make return type const char *.
(target_signal_to_name): Ditto. (target_signal_from_name): Make arg const char *. * thread-db.c (thread_db_err_str): Make return type const char *. * utils.c (perror_with_name): Make arg const char *. * infrun.c (sig_print_info): Update. * signals/signals.c (signals): Make array and struct members const. (target_signal_to_string): Make return type const char *. (target_signal_to_name): Ditto. (target_signal_from_name): Make arg const char *. * gdbserver/gdbreplay.c (perror_with_name): Make arg const char *. * gdbserver/server.h (target_signal_to_name): Make return type const char *.
Diffstat (limited to 'gdb/gdbserver/gdbreplay.c')
-rw-r--r--gdb/gdbserver/gdbreplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c
index aec45a57765..99072b52fb9 100644
--- a/gdb/gdbserver/gdbreplay.c
+++ b/gdb/gdbserver/gdbreplay.c
@@ -131,7 +131,7 @@ strerror (DWORD error)
Then return to command level. */
static void
-perror_with_name (char *string)
+perror_with_name (const char *string)
{
#ifndef STDC_HEADERS
extern int errno;