* dwarf2read.c (free_dwo_file): Remove assert.
gdb/testsuite * gdb.dwarf2/fission-reread.exp: Add unload test.
This commit is contained in:
parent
a543d2a92e
commit
8d9878a4ca
4 changed files with 12 additions and 1 deletions
|
@ -9240,7 +9240,6 @@ free_dwo_file (struct dwo_file *dwo_file, struct objfile *objfile)
|
|||
int ix;
|
||||
struct dwarf2_section_info *section;
|
||||
|
||||
gdb_assert (dwo_file->dbfd != objfile->obfd);
|
||||
gdb_bfd_unref (dwo_file->dbfd);
|
||||
|
||||
VEC_free (dwarf2_section_info_def, dwo_file->sections.types);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue