gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Jun 2010 20:03:42 +0000 (20:03 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Jun 2010 20:03:42 +0000 (20:03 +0000)
* dwarf2read.c (typename_concat): Add const to the variable sep.

gdb/ChangeLog
gdb/dwarf2read.c

index 6c28c9ee33ee0bac43a94719b95927e2c7883dab..d3b9d53799541ce0872876e8c2a7dc853c42f3e4 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (typename_concat): Add const to the variable sep.
+
 2010-06-02  Tom Tromey  <tromey@redhat.com>
 
        * dwarf2loc.h (dwarf2_per_cu_data): Declare.
index b05b99a3c8fbfe065aab9f59b2f236120fae5b1c..60ed9e4beee4d917c4322b817bad542fdae6cf23 100644 (file)
@@ -9236,7 +9236,7 @@ static char *
 typename_concat (struct obstack *obs, const char *prefix, const char *suffix, 
                 struct dwarf2_cu *cu)
 {
-  char *sep;
+  const char *sep;
 
   if (suffix == NULL || suffix[0] == '\0' || prefix == NULL || prefix[0] == '\0')
     sep = "";