aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-sunos.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-sunos.c')
-rw-r--r--gdb/solib-sunos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c
index 872c8ac..23b7dd2 100644
--- a/gdb/solib-sunos.c
+++ b/gdb/solib-sunos.c
@@ -146,7 +146,7 @@ allocate_rt_common_objfile (void)
objfile->psymbol_cache = bcache_xmalloc ();
objfile->macro_cache = bcache_xmalloc ();
obstack_init (&objfile->objfile_obstack);
- objfile->name = mstrsave (objfile->md, "rt_common");
+ objfile->name = xstrdup ("rt_common");
/* Add this file onto the tail of the linked list of other such files. */