aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-12-21 21:24:59 +0000
committerTom Tromey <tromey@redhat.com>2011-12-21 21:24:59 +0000
commit04aba06513c46875cc5cc8dd5c3280a34a4ad3c5 (patch)
tree90137777e721e89e9d8739aa9a8794ab26dd1666
parent4395ee0824136c3ab915ad5c15ba08bcccaa832c (diff)
downloadgdb-04aba06513c46875cc5cc8dd5c3280a34a4ad3c5.zip
gdb-04aba06513c46875cc5cc8dd5c3280a34a4ad3c5.tar.gz
gdb-04aba06513c46875cc5cc8dd5c3280a34a4ad3c5.tar.bz2
* symtab.h (struct minimal_symbol) <filename>: Now const.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index faf4a1f..d4d980f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 90153ed..44e3283 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -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. */