diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-01-31 19:05:23 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-01-31 19:05:23 +0000 |
commit | b2030fb51f930d138a89f700690304dc052947a3 (patch) | |
tree | 61831713d89bb9cfbb5545c8ac31011404eea79a | |
parent | 2db19d1e4d5a7f5ceae208d32ef452e3e40f562c (diff) | |
download | gdb-b2030fb51f930d138a89f700690304dc052947a3.zip gdb-b2030fb51f930d138a89f700690304dc052947a3.tar.gz gdb-b2030fb51f930d138a89f700690304dc052947a3.tar.bz2 |
* gdb.opencl/convs_casts.exp: Use tbreak instead of break to
proceed to initial kernel entry point.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
-rw-r--r-- | gdb/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/convs_casts.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/datatypes.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/operators.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/vec_comps.exp | 4 |
5 files changed, 16 insertions, 8 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5ac3c0c..b93ec2e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2011-01-31 Ulrich Weigand <uweigand@de.ibm.com> + + * gdb.opencl/convs_casts.exp: Use tbreak instead of break to + proceed to initial kernel entry point. + * gdb.opencl/datatypes.exp: Likewise. + * gdb.opencl/operators.exp: Likewise. + * gdb.opencl/vec_comps.exp: Likewise. + 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/nsnested.cc: New. diff --git a/gdb/testsuite/gdb.opencl/convs_casts.exp b/gdb/testsuite/gdb.opencl/convs_casts.exp index 0dbfcdc..a359ce0 100644 --- a/gdb/testsuite/gdb.opencl/convs_casts.exp +++ b/gdb/testsuite/gdb.opencl/convs_casts.exp @@ -40,14 +40,14 @@ if { [gdb_compile_opencl_hostapp "${clprogram}" "${testfile}" "" ] != "" } { clean_restart ${testfile} # Set breakpoint at the OpenCL kernel -gdb_test "break testkernel" \ +gdb_test "tbreak testkernel" \ "" \ "Set pending breakpoint" \ ".*Function \"testkernel\" not defined.*Make breakpoint pending.*y or \\\[n\\\]. $" \ "y" gdb_run_cmd -gdb_test "" ".*Breakpoint.*1.*testkernel.*" "run" +gdb_test "" ".*reakpoint.*1.*testkernel.*" "run" # Continue to the marker gdb_breakpoint [gdb_get_line_number "marker" "${clprogram}"] diff --git a/gdb/testsuite/gdb.opencl/datatypes.exp b/gdb/testsuite/gdb.opencl/datatypes.exp index 1fa80e4cc..8dfcae0 100644 --- a/gdb/testsuite/gdb.opencl/datatypes.exp +++ b/gdb/testsuite/gdb.opencl/datatypes.exp @@ -206,14 +206,14 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${objdir}/${subdir}/${testfile} # Set breakpoint at the OpenCL kernel -gdb_test "break testkernel" \ +gdb_test "tbreak testkernel" \ "" \ "Set pending breakpoint" \ ".*Function \"testkernel\" not defined.*Make breakpoint pending.*y or \\\[n\\\]. $" \ "y" gdb_run_cmd -gdb_test "" ".*Breakpoint.*1.*testkernel.*" "run" +gdb_test "" ".*reakpoint.*1.*testkernel.*" "run" # Continue to the marker gdb_breakpoint [gdb_get_line_number "marker" "${clprogram}"] diff --git a/gdb/testsuite/gdb.opencl/operators.exp b/gdb/testsuite/gdb.opencl/operators.exp index 3e96719..7dcc17f 100644 --- a/gdb/testsuite/gdb.opencl/operators.exp +++ b/gdb/testsuite/gdb.opencl/operators.exp @@ -40,14 +40,14 @@ if { [gdb_compile_opencl_hostapp "${clprogram}" "${testfile}" "" ] != "" } { clean_restart ${testfile} # Set breakpoint at the OpenCL kernel -gdb_test "break testkernel" \ +gdb_test "tbreak testkernel" \ "" \ "Set pending breakpoint" \ ".*Function \"testkernel\" not defined.*Make breakpoint pending.*y or \\\[n\\\]. $" \ "y" gdb_run_cmd -gdb_test "" ".*Breakpoint.*1.*testkernel.*" "run" +gdb_test "" ".*reakpoint.*1.*testkernel.*" "run" # Continue to the marker gdb_breakpoint [gdb_get_line_number "marker" "${clprogram}"] diff --git a/gdb/testsuite/gdb.opencl/vec_comps.exp b/gdb/testsuite/gdb.opencl/vec_comps.exp index de537c2..01d7c5f 100644 --- a/gdb/testsuite/gdb.opencl/vec_comps.exp +++ b/gdb/testsuite/gdb.opencl/vec_comps.exp @@ -40,14 +40,14 @@ if { [gdb_compile_opencl_hostapp "${clprogram}" "${testfile}" "" ] != "" } { clean_restart ${testfile} # Set breakpoint at the OpenCL kernel -gdb_test "break testkernel" \ +gdb_test "tbreak testkernel" \ "" \ "Set pending breakpoint" \ ".*Function \"testkernel\" not defined.*Make breakpoint pending.*y or \\\[n\\\]. $" \ "y" gdb_run_cmd -gdb_test "" ".*Breakpoint.*1.*testkernel.*" "run" +gdb_test "" ".*reakpoint.*1.*testkernel.*" "run" # Continue to the marker gdb_breakpoint [gdb_get_line_number "marker" "${clprogram}"] |