2010-04-08 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 9 Apr 2010 00:49:59 +0000 (00:49 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 9 Apr 2010 00:49:59 +0000 (00:49 +0000)
* gdb.trace/actions.exp: Clear default-collect.
* gdb.trace/save-trace.exp: Clear default-collect.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/actions.exp
gdb/testsuite/gdb.trace/save-trace.exp

index 2be54d7623e02a9e8dfdfbe9cabcfaf9b3b5ea96..1c0b8b5c401d23e3d67cbd4d88c5462226ca995c 100644 (file)
@@ -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.
index b6747f078580723d84822c8386440fe084de09f8..75f06529fedf109156fcd035898a70d26603043b 100644 (file)
@@ -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" \
index 87f76ab4d794eb26d9ee42203c47a8050f8bb596..ec6e0eb93adf809abcad12a67c4d249b05e49a0a 100644 (file)
@@ -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 .*" \