Change gdb_realpath to return a unique_xmalloc_ptr
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index ff99ca6b76f97f5b17c6367b337f041ca0fa641a..c49c7ea2e43efb82b3fc0c950518e12b86949664 100644 (file)
@@ -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 ();
This page took 0.023868 seconds and 4 git commands to generate.