From 00b51b9f522fe9f3ef77b65855f1fb36221073bb Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Aug 2004 10:24:08 +0000 Subject: [PATCH] * gdb.base/unload.c (main): Make local variable msg const. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/unload.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 (); -- 2.30.2