This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] typename_concat: char * -> const char *


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 = "";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]