From: Mark Kettenis Date: Sun, 15 Aug 2004 10:24:08 +0000 (+0000) Subject: * gdb.base/unload.c (main): Make local variable msg const. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00b51b9f522fe9f3ef77b65855f1fb36221073bb;p=binutils-gdb.git * gdb.base/unload.c (main): Make local variable msg const. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cbff391ec4e..17f146c8e24 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-15 Mark Kettenis + + * gdb.base/unload.c (main): Make local variable msg const. + 2004-08-15 Michael Chastain * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference diff --git a/gdb/testsuite/gdb.base/unload.c b/gdb/testsuite/gdb.base/unload.c index 7b4c8ec2dcc..4d7d05d2f6a 100644 --- a/gdb/testsuite/gdb.base/unload.c +++ b/gdb/testsuite/gdb.base/unload.c @@ -28,7 +28,7 @@ int main() void *handle; int (*unloadshr) (int); int y; - char *msg; + const char *msg; handle = dlopen (SHLIB_NAME, RTLD_LAZY); msg = dlerror ();