diff options
author | Pedro Alves <palves@redhat.com> | 2011-03-09 15:01:36 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-03-09 15:01:36 +0000 |
commit | 914956173f05d39515a8525de33cc3af4f3eb7ac (patch) | |
tree | 92f66337123845b86f680ec7d5610f4cf2f17a8f /gdb | |
parent | eb8c062170c9e829851bd89f4443e6c5e2f7309d (diff) | |
download | gdb-914956173f05d39515a8525de33cc3af4f3eb7ac.zip gdb-914956173f05d39515a8525de33cc3af4f3eb7ac.tar.gz gdb-914956173f05d39515a8525de33cc3af4f3eb7ac.tar.bz2 |
gdb/
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/nto-tdep.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ddb885d..c263053 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 23bbd31..1db123d 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 \ |