diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 10:24:08 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 10:24:08 +0000 |
commit | 00b51b9f522fe9f3ef77b65855f1fb36221073bb (patch) | |
tree | 922a95827af1adc5e84613145deefba8ad979c36 /gdb/testsuite | |
parent | 45f07fef904eaea82751dab3fca4fd15fc4b1302 (diff) | |
download | gdb-00b51b9f522fe9f3ef77b65855f1fb36221073bb.zip gdb-00b51b9f522fe9f3ef77b65855f1fb36221073bb.tar.gz gdb-00b51b9f522fe9f3ef77b65855f1fb36221073bb.tar.bz2 |
* gdb.base/unload.c (main): Make local variable msg const.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/unload.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cbff391..17f146c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-15 Mark Kettenis <kettenis@gnu.org> + + * gdb.base/unload.c (main): Make local variable msg const. + 2004-08-15 Michael Chastain <mec.gnu@mindspring.com> * 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 7b4c8ec..4d7d05d 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 (); |