aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-24 10:48:19 +0000
committerPedro Alves <palves@redhat.com>2011-05-24 10:48:19 +0000
commitc91c8c16124ce11be0ee4490a5d1606236fca1bb (patch)
tree2491d792f5a33bea02219f17f2f40ed297995653 /gdb/testsuite
parent77bc418a4ba1ec495402841d1bb556f36b9979ab (diff)
downloadgdb-c91c8c16124ce11be0ee4490a5d1606236fca1bb.zip
gdb-c91c8c16124ce11be0ee4490a5d1606236fca1bb.tar.gz
gdb-c91c8c16124ce11be0ee4490a5d1606236fca1bb.tar.bz2
2011-05-24 Pedro Alves <pedro@codesourcery.com>
gdb/ * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting shared library event breakpoint if there's no execution. gdb/testsuite/ * gdb.trace/tfile.exp: Add test that opening the basic.tf trace file doesn't error, using MI.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.trace/tfile.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 034a5fe..b21ca76 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-24 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
+ file doesn't error, using MI.
+
2011-05-23 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (string_display): Add tests to assign to
diff --git a/gdb/testsuite/gdb.trace/tfile.exp b/gdb/testsuite/gdb.trace/tfile.exp
index 37a7f42..fbbcf4b 100644
--- a/gdb/testsuite/gdb.trace/tfile.exp
+++ b/gdb/testsuite/gdb.trace/tfile.exp
@@ -116,3 +116,8 @@ Collected 0 trace frame.*
Trace buffer has 256 bytes of 4096 bytes free \\(93% full\\).*
Not looking at any trace frame.*" \
"tstatus on error trace file"
+
+# Make sure we can reopen without error.
+gdb_test \
+ "interpreter-exec mi \"-target-select tfile basic.tf\"" \
+ "\\^connected.*"