diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 10:14:50 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:31 -0700 |
commit | 49e118b61f07812235faec67cc783a0e866c3ff8 (patch) | |
tree | d501ef91473264622f3a36386a68e67a8673e0e2 /gdb | |
parent | 4eed72400bd6e71ab0c6bbd1dd8035171d60390d (diff) | |
download | gdb-49e118b61f07812235faec67cc783a0e866c3ff8.zip gdb-49e118b61f07812235faec67cc783a0e866c3ff8.tar.gz gdb-49e118b61f07812235faec67cc783a0e866c3ff8.tar.bz2 |
Use clean_restart in gdb.opencl
Change gdb.opencl to use clean_restart more consistently.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.opencl/callfuncs.exp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.opencl/callfuncs.exp b/gdb/testsuite/gdb.opencl/callfuncs.exp index 1fa3f8a..4a7b2fb 100644 --- a/gdb/testsuite/gdb.opencl/callfuncs.exp +++ b/gdb/testsuite/gdb.opencl/callfuncs.exp @@ -30,12 +30,7 @@ if { [gdb_compile_opencl_hostapp "${clprogram}" "${testfile}" "" ] != "" } { return -1 } -gdb_exit -gdb_start - -# Load the OpenCL app -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${objdir}/${subdir}/${testfile} +clean_restart [standard_testfile $testfile] # Set breakpoint at the OpenCL kernel gdb_test "tbreak testkernel" \ |