<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi, <br class="Apple-interchange-newline">
<span style="color: rgb(33, 33, 33); font-family: arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">I have a question about the connection to a custom target with lldb. My problem is:
</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">i should create a debugger for code verification and fault injection on a core architecture (</span><span
lang="en">synthesized on fpga</span><span style="color: rgb(33, 33, 33); font-family: arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">) in which the compiler is LLVM based. I </span><span
lang="en">think to use LLDB because the core target was just
defined in the LLVM target (by others) and for this reason i
think that </span><span lang="en">it's sample extend LLDB
back-end for custom target (it's correct?). Now, because there </span><span
lang="en">is no operating system on core target, i read that for
GDB i need to create a gdb-server stub that is RSP compliant to
connect to a "bare metal" target with uart. </span><span
lang="en"><br>
</span></p>
<p><span lang="en">1) Can it also be done with LLDB? <br>
</span></p>
<p><span lang="en">2) What is the command to connect a target via
usb in LLDB?</span></p>
<p><span lang="en"><br>
</span></p>
<p><span lang="en">Thank you. <br>
</span></p>
<p><span lang="en"></span></p>
<div id="tw-source" style="-webkit-box-flex: 1; flex: 1 1 0%; width:
0px; max-width: calc(50% - 20px); font-size: 0px; margin: 0px;
position: relative; text-align: left; padding: 30px 0px 50px;
height: 128px; color: rgb(33, 33, 33); font-family: arial,
sans-serif; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">
<div id="_fVd" class="tw-lang-selector-wrapper" style="border: 1px
solid white; border-radius: 0px 0px 2px 2px; margin-left: -3px;
overflow: hidden; position: absolute; left: -2px; top: 0px;
width: 63px;"><br class="Apple-interchange-newline">
<select class="tw-lang-selector vk_txt vk_dgy tw-dl"
style="color: rgb(84, 84, 84); font-weight: normal !important;
font-size: 13px !important; background: white; border: none;
list-style: none; margin: 0px; outline: none; text-align:
left; text-decoration: none; height: 20px; position: absolute;
visibility: hidden;">
<option>Italiano</option>
</select>
</div>
<div class="tw-menu" id="tw-smenu" style="display: inline-block;
position: absolute; right: -12px; top: -10px; z-index: 2;"><span
class="tw-menu-btn" id="tw-mic" role="button" tabindex="0"
data-ved="0ahUKEwjq6ZOuy6nVAhXBvhQKHbEdBnEQ7zQIKjAA"
style="display: inline-block; height: 40px; color: rgba(0, 0,
0, 0.54); width: 40px; position: relative;"><span
class="tw-menu-btn-image" style="border: 1px solid
transparent; display: inline-block; height: 26px; margin:
6px; width: 26px;"></span><span class="tw-menu-btn-image
_Cjb _rYb _wtf _Voo" title="Traduzione vocale"
style="display: inline-block; fill: currentcolor; height:
22px; line-height: 24px; position: absolute; width: 22px;
border: 1px solid transparent; margin: 8px; left: 0px;"><svg
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path
d="M12 14c1.66 0 2.99-1.34 2.99-3L15
5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3
3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41
2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"></path></svg></span></span><span
class="tw-menu-btn tw-spkr-off" id="tw-src-spkr-button"
role="button" tabindex="0"
data-ved="0ahUKEwjq6ZOuy6nVAhXBvhQKHbEdBnEQv7cBCCswAA"
style="display: inline-block; height: 40px; color: rgba(0, 0,
0, 0.54); width: 40px;"><span class="tw-menu-btn-image _wtf
_Xoo" title="Ascolta" style="display: inline-block; fill:
currentcolor; height: 26px; line-height: 24px; position:
relative; width: 26px; border: 1px solid transparent;
margin: 6px;"><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5
3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25
2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11
5.85-5 6.71v2.06c4.01-.91 7-4.49
7-8.77s-2.99-7.86-7-8.77z"></path></svg></span></span><span
class="tw-menu-btn" id="tw-swap" role="button" tabindex="0"
data-ved="0ahUKEwjq6ZOuy6nVAhXBvhQKHbEdBnEQ8zQILDAA"
style="display: inline-block; height: 40px; color: rgba(0, 0,
0, 0.54); width: 40px;"><span class="tw-menu-btn-image _iid
_wtf _LUl" title="Inverti lingue" style="display:
inline-block; fill: currentcolor; height: 26px; line-height:
24px; position: relative; width: 26px; border: 1px solid
transparent; margin: 6px;"><svg
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path
d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21
9l-3.99-4v3H10v2h7.01v3L21 9z"></path></svg></span></span>
<pre class="tw-data-text tw-ta tw-text-medium" data-placeholder="Traduzione" id="tw-target-text" data-fulltext="" dir="ltr" style="unicode-bidi: isolate; background-color: transparent; border: none; padding: 0px 0.14em 0px 0px; position: relative; margin: 0px; resize: none; font-family: inherit; overflow: hidden; text-align: left; width: 276px; white-space: pre-wrap; word-wrap: break-word; font-size: 29px !important; line-height: 36px !important; color: rgb(33, 33, 33) !important; height: 108px;"><span lang="en">What is the command to connet a target via usb?</span></pre>
<span class="tw-menu-btn" id="tw-swap" role="button"
tabindex="0"
data-ved="0ahUKEwjq6ZOuy6nVAhXBvhQKHbEdBnEQ8zQILDAA"
style="display: inline-block; height: 40px; color: rgba(0, 0,
0, 0.54); width: 40px;"><span class="tw-menu-btn-image _iid
_wtf _LUl" title="Inverti lingue" style="display:
inline-block; fill: currentcolor; height: 26px; line-height:
24px; position: relative; width: 26px; border: 1px solid
transparent; margin: 6px;"><svg
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"></svg></span></span><span
class="tw-menu-btn" id="tw-swap" role="button" tabindex="0"
data-ved="0ahUKEwjq6ZOuy6nVAhXBvhQKHbEdBnEQ8zQILDAA"
style="display: inline-block; height: 40px; color: rgba(0, 0,
0, 0.54); width: 40px;"><span class="tw-menu-btn-image _iid
_wtf _LUl" title="Inverti lingue" style="display:
inline-block; fill: currentcolor; height: 26px; line-height:
24px; position: relative; width: 26px; border: 1px solid
transparent; margin: 6px;"><svg
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"></svg></span></span></div>
</div>
<br class="Apple-interchange-newline">
</body>
</html>