[obv] typename_concat: char * -> const char *
Jan Kratochvil
jan.kratochvil@redhat.com
Wed Jun 2 20:05:00 GMT 2010
Checked-in.
http://sourceware.org/ml/gdb-cvs/2010-06/msg00018.html
--- src/gdb/ChangeLog 2010/06/02 19:37:54 1.11864
+++ src/gdb/ChangeLog 2010/06/02 20:03:40 1.11865
@@ -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.
--- src/gdb/dwarf2read.c 2010/06/02 19:37:55 1.391
+++ src/gdb/dwarf2read.c 2010/06/02 20:03:42 1.392
@@ -9236,7 +9236,7 @@
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 = "";
More information about the Gdb-patches
mailing list