[binutils-gdb] Fix build error in aix-thread.c

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Wed Apr 12 15:29:00 GMT 2017


*** TEST RESULTS FOR COMMIT 0a31ccfbd84660a91b133a9915e6f63c30033189 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 0a31ccfbd84660a91b133a9915e6f63c30033189

Fix build error in aix-thread.c

Obvious fix for:

aix-thread.c: In function 'char* pd_status2str(int)':
aix-thread.c:163:33: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
     case PTHDB_SUCCESS:  return "SUCCESS";
                                 ^
gdb/ChangeLog:

	* aix-thread.c (pd_status2str): Change return type to const char *.



More information about the Gdb-testers mailing list