diff options
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index ff99ca6b76f..c49c7ea2e43 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -376,7 +376,7 @@ struct objfile * allocate_objfile (bfd *abfd, const char *name, objfile_flags flags) { struct objfile *objfile; - char *expanded_name; + const char *expanded_name; objfile = XCNEW (struct objfile); objfile->psymbol_cache = psymbol_bcache_init (); |