2003-05-02 David Carlton <carlton@bactrian.org>
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate the name with mstrsave.
This commit is contained in:
parent
4d2e1ff0a6
commit
a9c0dc7f03
@ -1,3 +1,8 @@
|
||||
2003-05-02 David Carlton <carlton@bactrian.org>
|
||||
|
||||
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate
|
||||
the name with mstrsave.
|
||||
|
||||
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* charset.c (GDB_DEFAULT_TARGET_CHARSET,
|
||||
|
@ -325,7 +325,7 @@ allocate_objfile (bfd *abfd, int flags)
|
||||
}
|
||||
else
|
||||
{
|
||||
objfile->name = "<<anonymous objfile>>";
|
||||
objfile->name = mstrsave (objfile->md, "<<anonymous objfile>>");
|
||||
}
|
||||
|
||||
/* Initialize the section indexes for this objfile, so that we can
|
||||
|
Loading…
x
Reference in New Issue
Block a user