aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-02 20:03:42 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-02 20:03:42 +0000
commit5c315b68907cbee516094215812012ac65aa0ab0 (patch)
treec0e0b228d37b3fb4de54785f4b23c3449f86e0cf /gdb/dwarf2read.c
parenta8d52276eef1d657f8bb0a72341e780e9f279855 (diff)
downloadgdb-5c315b68907cbee516094215812012ac65aa0ab0.zip
gdb-5c315b68907cbee516094215812012ac65aa0ab0.tar.gz
gdb-5c315b68907cbee516094215812012ac65aa0ab0.tar.bz2
gdb/
* dwarf2read.c (typename_concat): Add const to the variable sep.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b05b99a..60ed9e4 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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 = "";