mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
gdb/
* objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE. * rs6000-nat.c (vmap_ldinfo): Only assertion check SYMFILE_OBJFILE now. * symfile.c (syms_from_objfile, symbol_file_clear): Likewise.
This commit is contained in:
@ -459,8 +459,8 @@ free_objfile (struct objfile *objfile)
|
||||
|
||||
unlink_objfile (objfile);
|
||||
|
||||
/* If we are going to free the runtime common objfile, mark it
|
||||
as unallocated. */
|
||||
if (objfile == symfile_objfile)
|
||||
symfile_objfile = NULL;
|
||||
|
||||
if (objfile == rt_common_objfile)
|
||||
rt_common_objfile = NULL;
|
||||
|
Reference in New Issue
Block a user