aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-29 19:26:22 +0000
committerTom Tromey <tromey@redhat.com>2013-01-29 19:26:22 +0000
commit8d9878a4ca345aef7d7a727a11e7f76de787bac0 (patch)
treeef1110615f766b03da58ba5e8c128e1b25d80daf /gdb/testsuite
parenta543d2a92e50ea5689748f74eb23efc02e82b008 (diff)
downloadgdb-8d9878a4ca345aef7d7a727a11e7f76de787bac0.zip
gdb-8d9878a4ca345aef7d7a727a11e7f76de787bac0.tar.gz
gdb-8d9878a4ca345aef7d7a727a11e7f76de787bac0.tar.bz2
* dwarf2read.c (free_dwo_file): Remove assert.
gdb/testsuite * gdb.dwarf2/fission-reread.exp: Add unload test.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/fission-reread.exp4
2 files changed, 8 insertions, 0 deletions
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"