This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/16590] New: Need to audit use of remote_download target, -> gdb_remote_download host ?


https://sourceware.org/bugzilla/show_bug.cgi?id=16590

            Bug ID: 16590
           Summary: Need to audit use of remote_download target, ->
                    gdb_remote_download host ?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

I'm seeing this spurious failure when running the testsuite in parallel mode:

ERROR: remote_download to target of
../../../gdb-7.7.x/gdb/testsuite/lib/opencl_kernel.cl to opencl_kernel.cl: cp:
cannot create regular file `opencl_kernel.c\
l': Permission denied

I think it's because opencl.exp does this:

    set clprogram [remote_download target ${srcdir}/lib/opencl_kernel.cl]
    [...]
    if { [gdb_compile_opencl_hostapp "${clprogram}" "${executable}"
"${compile_flags}" ] != "" } {

That should be "gdb_remote_download host" I think.

This makes me wonder if there are other tests that are errantly downloading to
target instead of host, and should be using gdb_remote_download.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]