* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
This commit is contained in:
Pedro Alves 2011-03-09 15:01:36 +00:00
parent eb8c062170
commit 914956173f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-03-09 Pedro Alves <pedro@codesourcery.com>
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
2011-03-09 Tom Tromey <tromey@redhat.com>
* thread.c (restore_selected_frame): Handle frame_level == -1.

View File

@ -89,7 +89,8 @@ nto_map_arch_to_cputype (const char *arch)
int
nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
{
char *buf, *arch_path, *nto_root, *endian, *base;
char *buf, *arch_path, *nto_root, *endian;
const char *base;
const char *arch;
int ret;
#define PATH_FMT \