aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/utils.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/utils.c
parent99e9a495d54f59d91ec80973182c8832509274ee (diff)
downloadgdb-5436304513349c5447b61f8b5ed6c38d77c5f0d9.zip
gdb-5436304513349c5447b61f8b5ed6c38d77c5f0d9.tar.gz
gdb-5436304513349c5447b61f8b5ed6c38d77c5f0d9.tar.bz2
* 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/utils.c')
-rw-r--r--gdb/gdbserver/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/utils.c b/gdb/gdbserver/utils.c
index 174afd0..7d309dd 100644
--- a/gdb/gdbserver/utils.c
+++ b/gdb/gdbserver/utils.c
@@ -92,7 +92,7 @@ xstrdup (const char *s)
Then return to command level. */
void
-perror_with_name (char *string)
+perror_with_name (const char *string)
{
const char *err;
char *combined;