<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Hallo, </span><b><font color=black><span
style='color:black;font-weight:bold'>LLVMdev</span></font></b></font><span
lang=EN-US>! <o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>I have found you in LLVM Developers page (<a
href="http://llvm.org/developers.cgi"
title="blocked::http://llvm.org/developers.cgi">http://llvm.org/developers.cgi</a>).
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>First thank you for all of your work with LLVM.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>About:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>I work with the <strong><b><font face="Times New Roman"><span
style='font-weight:normal'>LLVM</span></font></b></strong> Compiler
Infrastructure to implement a backend for specific processor xPEC of chip NetX
(<a href="http://hilscher.com/netx.html"
title="blocked::http://hilscher.com/netx.html">http://hilscher.com/netx..html</a>).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>So C-code already possible compile to the native xPEC
assembly code (works perfect! LLWM a big power!). <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Now I need to debug the source C-code, that I compile
for xPEC-processor. I have read the article “<font color=black><span
style='color:black'>Source Level Debugging with LLVM</span></font>” (<a
href="http://llvm.org/docs/SourceLevelDebugging.html"
title="blocked::http://llvm.org/docs/SourceLevelDebugging.html">http://llvm.org/docs/SourceLevelDebugging.html</a>),
where were described that is possible to use debugger GDB. Wonderful! I have
found much information about GDB (of course <a href="http://sourceware.org/gdb/"
title="blocked::http://sourceware.org/gdb/">http://sourceware.org/gdb/</a> )
and it has a debugging of remote programs. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Problem:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>I don’t understand how must be compiled the
C-code with “llvm-gcc”. Wenn I use option “-emit-llvm”
[backend needs it] of course with “-g” and “-O0”,
 then GDB can’t find a symbol table in bc-file.  Where will
place “llvm-gcc” the symbol table for DGB? Perhaps, must GDB knows
the architecture of processor? If yes, so where it must be written?
  I have many questions and need some help. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Do you can help me what must I read and search ore
recommend somebody to can? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Artem Rudskyy<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><a href="http://www.uni-magdeburg.de/ieat/robotslab/"
title="blocked::http://www.uni-magdeburg.de/ieat/robotslab/">http://www..uni-magdeburg.de/ieat/robotslab/</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><a href="http://www.uni-magdeburg.de/"
title="blocked::http://www.uni-magdeburg.de/">http://www.uni-magdeburg.de/</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>