* gdb.base/unload.c (main): Make local variable msg const.
This commit is contained in:
parent
45f07fef90
commit
00b51b9f52
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
|
* gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
|
||||||
|
|
|
@ -28,7 +28,7 @@ int main()
|
||||||
void *handle;
|
void *handle;
|
||||||
int (*unloadshr) (int);
|
int (*unloadshr) (int);
|
||||||
int y;
|
int y;
|
||||||
char *msg;
|
const char *msg;
|
||||||
|
|
||||||
handle = dlopen (SHLIB_NAME, RTLD_LAZY);
|
handle = dlopen (SHLIB_NAME, RTLD_LAZY);
|
||||||
msg = dlerror ();
|
msg = dlerror ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue