diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 1 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/fission-reread.exp | 4 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f7faa68..9b2193b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. * value.h (deprecated_set_value_modifiable): Remove. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 63c43eb..23e2dff 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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); diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 745c9ba..ba5fa5d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.dwarf2/fission-reread.exp b/gdb/testsuite/gdb.dwarf2/fission-reread.exp index 5b013e3..0f06326 100644 --- a/gdb/testsuite/gdb.dwarf2/fission-reread.exp +++ b/gdb/testsuite/gdb.dwarf2/fission-reread.exp @@ -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" |