projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eed724
)
Use clean_restart in gdb.opencl
author
Tom Tromey
<tom@tromey.com>
Wed, 25 Jan 2023 17:14:50 +0000
(10:14 -0700)
committer
Tom Tromey
<tom@tromey.com>
Fri, 27 Jan 2023 01:28:31 +0000
(18:28 -0700)
Change gdb.opencl to use clean_restart more consistently.
gdb/testsuite/gdb.opencl/callfuncs.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.opencl/callfuncs.exp
b/gdb/testsuite/gdb.opencl/callfuncs.exp
index 1fa3f8abcb02f2fe332ef2575735fbcb5d095b3b..4a7b2fb9f82ab237a58b93250822f39863e5b8fa 100644
(file)
--- 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" \