diff options
author | Doug Evans <dje@google.com> | 2009-01-15 22:07:20 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-01-15 22:07:20 +0000 |
commit | 5436304513349c5447b61f8b5ed6c38d77c5f0d9 (patch) | |
tree | 23b32c6ae038923f720173289f7804d7386b1c30 /gdb/infrun.c | |
parent | 99e9a495d54f59d91ec80973182c8832509274ee (diff) | |
download | gdb-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/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8dcc1bf..0986939 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -4464,7 +4464,7 @@ Signal Stop\tPrint\tPass to program\tDescription\n")); static void sig_print_info (enum target_signal oursig) { - char *name = target_signal_to_name (oursig); + const char *name = target_signal_to_name (oursig); int name_padding = 13 - strlen (name); if (name_padding <= 0) |