]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* 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 faf4a1f279a9d08325c2472237c997b75e809eac..d4d980f1e5078cd23196d8eb4331fb183c23cb9e 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 90153ed6df03ddea9d37fb74f8874e2b0188159b..44e3283ff67f7dc6f3463e1f25afbcb6db563a8a 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.  */