aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/aix-thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aa210bb..41ed80b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * aix-thread.c (pd_status2str): Change return type to const char *.
+
2017-04-12 Pedro Alves <palves@redhat.com>
* i386-tdep.c (i386_elf_init_abi, i386_go32_init_abi): Remove
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 05024df..ced6203 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -155,7 +155,7 @@ static pthdb_session_t pd_session;
/* Return a printable representation of pthdebug function return
STATUS. */
-static char *
+static const char *
pd_status2str (int status)
{
switch (status)