* 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
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue