aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-09 00:49:59 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-09 00:49:59 +0000
commit64e173680a7cb96b9357bc4fb6764fbe5733f9ea (patch)
tree285c58b5bce33e464357489259280c4fbd06052e /gdb
parent4e4d83747cd746b9b8569938f0fb83625c74b8ff (diff)
downloadgdb-64e173680a7cb96b9357bc4fb6764fbe5733f9ea.zip
gdb-64e173680a7cb96b9357bc4fb6764fbe5733f9ea.tar.gz
gdb-64e173680a7cb96b9357bc4fb6764fbe5733f9ea.tar.bz2
2010-04-08 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Clear default-collect. * gdb.trace/save-trace.exp: Clear default-collect.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.trace/actions.exp4
-rw-r--r--gdb/testsuite/gdb.trace/save-trace.exp2
3 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2be54d7..1c0b8b5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-08 Stan Shebs <stan@codesourcery.com>
+
+ * gdb.trace/actions.exp: Clear default-collect.
+ * gdb.trace/save-trace.exp: Clear default-collect.
+
2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value: Add null string variable.
diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp
index b6747f0..75f0652 100644
--- a/gdb/testsuite/gdb.trace/actions.exp
+++ b/gdb/testsuite/gdb.trace/actions.exp
@@ -204,6 +204,10 @@ gdb_test "show default-collect" \
"The list of expressions to collect by default is \"gdb_char_test, gdb_long_test - 100\"..*" \
"5.9b: show default-collect"
+gdb_test "set default-collect" \
+ "" \
+ "5.9c: set default-collect"
+
# 5.10 teval
gdb_test "tvariable \$tsv" \
diff --git a/gdb/testsuite/gdb.trace/save-trace.exp b/gdb/testsuite/gdb.trace/save-trace.exp
index 87f76ab..ec6e0eb 100644
--- a/gdb/testsuite/gdb.trace/save-trace.exp
+++ b/gdb/testsuite/gdb.trace/save-trace.exp
@@ -135,6 +135,7 @@ gdb_test "save-tracepoints savetrace.tr" \
# 10.2 Read back tracepoint definitions
gdb_delete_tracepoints
+gdb_test "set default-collect" "" "10.2: clear default-collect"
gdb_test "info tracepoints" "No tracepoints." "10.2: delete tracepoints"
gdb_test "source savetrace.tr" \
"Tracepoint \[0-9\]+ at .*" \
@@ -151,6 +152,7 @@ gdb_test "save-tracepoints $objdir/savetrace.tr" \
"10.3: save tracepoint definitions, full path"
gdb_delete_tracepoints
+gdb_test "set default-collect" "" "10.3: clear default-collect"
gdb_test "info tracepoints" "No tracepoints." "10.3: delete tracepoints"
gdb_test "source $objdir/savetrace.tr" \
"Tracepoint \[0-9\]+ at .*" \