2010-04-08 Stan Shebs <stan@codesourcery.com>

* gdb.trace/actions.exp: Clear default-collect.
	* gdb.trace/save-trace.exp: Clear default-collect.
This commit is contained in:
Stan Shebs 2010-04-09 00:49:59 +00:00
parent 4e4d83747c
commit 64e173680a
3 changed files with 11 additions and 0 deletions

View 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.

View 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" \

View 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 .*" \