summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-03-09 15:01:34 +0000
committerPedro Alves <pedro@codesourcery.com>2011-03-09 15:01:34 +0000
commitd14b65ef095e070c19a028facf85c4db75c4b667 (patch)
treeae2f780ee409834d296892cff8fd6a190e8c79ce /gdb/nto-tdep.c
parent029fb512f2fd983b7084a7278d2b1a3ff35c054e (diff)
downloadgdb-d14b65ef095e070c19a028facf85c4db75c4b667.tar.gz
gdb/
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index 23bbd3122b0..1db123d72fd 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -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 \