summaryrefslogtreecommitdiff
path: root/gdb/solib-sunos.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-30 19:57:54 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-30 19:57:54 +0000
commitce8e999d2662dd7fa60fb70675df2d6f3ade0172 (patch)
tree12b57c2396304633a4c52ec941af8749293d11ca /gdb/solib-sunos.c
parent6875325c835cd838e8eaaa9f007796abe5fba5e5 (diff)
downloadgdb-ce8e999d2662dd7fa60fb70675df2d6f3ade0172.tar.gz
* defs.h (msavestring, mstrsave): Remove prototypes.
* utils.c (msavestring, mstrsave): Remove functions. * objfiles.c (allocate_objfile): Use xstrdup instead of mstrsave. * solib-sunos.c (allocate_rt_common_objfile): Use xstrdup instead of mstrsave. * source.c (find_and_open_source): Use xstrdup instead of mstrsave.
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 872c8acd1e4..23b7dd278d3 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. */