gdb/
authorPedro Alves <palves@redhat.com>
Wed, 9 Mar 2011 15:01:36 +0000 (15:01 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 9 Mar 2011 15:01:36 +0000 (15:01 +0000)
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.

gdb/ChangeLog
gdb/nto-tdep.c

index ddb885df391ed859821375f1cc393b69a2710785..c263053acd8f20f4707efe4836d11d60d043f9da 100644 (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.
index 23bbd3122b01fcbb14cb2859f69479b8a4532367..1db123d72fd17c4f0c880d590e41f442f0b1ff09 100644 (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 \
This page took 0.027974 seconds and 4 git commands to generate.