* symtab.h (struct minimal_symbol) <filename>: Now const.
authorTom Tromey <tromey@redhat.com>
Wed, 21 Dec 2011 21:24:59 +0000 (21:24 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 21 Dec 2011 21:24:59 +0000 (21:24 +0000)
gdb/ChangeLog
gdb/symtab.h

index faf4a1f..d4d980f 100644 (file)
@@ -1,3 +1,7 @@
+2011-12-21  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.h (struct minimal_symbol) <filename>: Now const.
+
 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        PR tdep/12797
index 90153ed..44e3283 100644 (file)
@@ -347,7 +347,7 @@ struct minimal_symbol
   unsigned long size;
 
   /* Which source file is this symbol in?  Only relevant for mst_file_*.  */
-  char *filename;
+  const char *filename;
 
   /* Classification type for this minimal symbol.  */