* dwarf2read.c (free_dwo_file): Remove assert.

gdb/testsuite
	* gdb.dwarf2/fission-reread.exp: Add unload test.
This commit is contained in:
Tom Tromey 2013-01-29 19:26:22 +00:00
parent a543d2a92e
commit 8d9878a4ca
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-29 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (free_dwo_file): Remove assert.
2013-01-29 Tom Tromey <tromey@redhat.com>
* value.c (deprecated_set_value_modifiable): Remove.

View File

@ -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);

View File

@ -1,3 +1,7 @@
2013-01-29 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/fission-reread.exp: Add unload test.
2013-01-28 Doug Evans <dje@google.com>
* gdb.dwarf2/fission-loclists.exp: New file.

View File

@ -32,3 +32,7 @@ gdb_test "break main" "Breakpoint.*at.*"
# If we get this far gdb didn't crash, nor did an error occur.
pass $testfile
gdb_unload
# If we get this far gdb didn't crash, nor did an error occur.
pass "$testfile - unload"