diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-09-30 19:57:54 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-09-30 19:57:54 +0000 |
commit | ce8e999d2662dd7fa60fb70675df2d6f3ade0172 (patch) | |
tree | 12b57c2396304633a4c52ec941af8749293d11ca /gdb/solib-sunos.c | |
parent | 6875325c835cd838e8eaaa9f007796abe5fba5e5 (diff) | |
download | gdb-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.c | 2 |
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. */ |