<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes, it should work.</p>
<p>Some pieces are not implemented yet, though. You cannot print the
value of the variables. It requires an additional non-standard
DWARF attribute to emit. I'm working on it. Until it is landed,
you need to manually point the cuda-gdb the type and the address
space of the variable (or the address of the variable).</p>
<p>So, to get the value of the local variable, you need to manually
enter in the debugger something like this:</p>
<p>p *(local unsigned*)(0xbbbbbbb)<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">22.01.2019 13:00, Finkel, Hal J. пишет:<br>
</div>
<blockquote type="cite"
cite="mid:0f56593b-379b-12bf-a3cf-70812a81250f@anl.gov">
<pre class="moz-quote-pre" wrap="">On 1/22/19 11:43 AM, Alexey Bataev via llvm-commits wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Author: abataev
Date: Tue Jan 22 09:43:37 2019
New Revision: 351846
URL: <a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project?rev=351846&view=rev">http://llvm.org/viewvc/llvm-project?rev=351846&view=rev</a>
Log:
[DEBUGINFO, NVPTX] Enable support for the debug info on NVPTX target.
Summary: Enable full support for the debug info.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Nice! Does it all actually work now, or are more pieces still needed?
-Hal
</pre>
</blockquote>
</body>
</html>