Hi,

I think the debug info generation and preservation across WGF passes
is unfinished.

I typically end up using printf() when debugging kernel
code, and look at the disassembly in gdb, which usually helps to
spot the kernel lines where the crash happens.

On 10.11.2017 10:33, Wuweijia wrote:
            I write cl file , and ran it with the pocl in arm64 server, compilation is ok.  In the running  there is some bug in the cl file, and application crash in the cl file . How can I debug the cl file with gdb.

            I think the pocl compile the cl file with some optimized options, no debug info.  Show the gdb can not show me the callstack where cl file crash.

--
Pekka

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to