diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/corefile.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/corefile.exp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/gdb/testsuite/gdb.base/corefile.exp b/gdb/testsuite/gdb.base/corefile.exp index 6eb1f02..bde2de8 100644 --- a/gdb/testsuite/gdb.base/corefile.exp +++ b/gdb/testsuite/gdb.base/corefile.exp @@ -241,7 +241,7 @@ gdb_exit # Test an attach command will clear any loaded core file. -proc corefile_test_attach {{async 0}} { +proc corefile_test_attach {} { global binfile corefile gdb_prompt if ![is_remote target] { @@ -257,11 +257,6 @@ proc corefile_test_attach {{async 0}} { gdb_start - if {$async} { - gdb_test_no_output "set target-async on" \ - "enable target-async for attach tests" - } - gdb_test "core-file $corefile" "Core was generated by .*" "attach: load core again" gdb_test "info files" "\r\nLocal core dump file:\r\n.*" "attach: sanity check we see the core file" @@ -298,13 +293,3 @@ gdb_test_multiple "core-file $corefile" $test { pass $test } } - - -# Try a couple tests again with target-async. -with_test_prefix "target-async" { - clean_restart ${testfile} - - gdb_test_no_output "set target-async on" - corefile_test_run - corefile_test_attach 1 -} |