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 | 982526a134330b9524daea65f26ba2cfe36cb275 (patch) | |
tree | 722eda748c756f02e37ab6a7d9a8ed992431fe54 /gdb/solib-sunos.c | |
parent | db8acf26ca5d066a8cb97b8a80590886cfd04b77 (diff) | |
download | gdb-982526a134330b9524daea65f26ba2cfe36cb275.zip gdb-982526a134330b9524daea65f26ba2cfe36cb275.tar.gz gdb-982526a134330b9524daea65f26ba2cfe36cb275.tar.bz2 |
* 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 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. */ |