diff options
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 69f61d4..3c4e0b4 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -184,7 +184,7 @@ allocate_objfile (bfd *abfd, int flags) } if (abfd != NULL) { - objfile->name = mstrsave (objfile->md, bfd_get_filename (abfd)); + objfile->name = xstrdup (bfd_get_filename (abfd)); objfile->mtime = bfd_get_mtime (abfd); /* Build section table. */ @@ -197,7 +197,7 @@ allocate_objfile (bfd *abfd, int flags) } else { - objfile->name = mstrsave (objfile->md, "<<anonymous objfile>>"); + objfile->name = xstrdup ("<<anonymous objfile>>"); } /* Initialize the section indexes for this objfile, so that we can |