<h3>Contribution description</h3>
<p>this improve its print capabilities and test for the backtrace functionality of native</p>
<p>adding symbol printing and depth information gathering making this a more complete package for using the GNU-libc execinfo.h</p>
<h3>Testing procedure</h3>
<p>run the backtrace test</p>
<p>compile it with 'LINKERFLAGS=-no-pie' and it will no longer lie to you how many lines it will print</p>
<p>add some or all of of the functions to you own code (just Native)</p>
<h3>Issues/PRs references</h3>
<p>fixes backtrace test which inhibits <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="829478252" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/16186" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/16186/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/16186">#16186</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16809'>https://github.com/RIOT-OS/RIOT/pull/16809</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>native/backtrace: improve its print capabilitys and test</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16809/files#diff-19c911897b339c0304a6c5a832bfe53a8ea4b5fdadfb6f458b0156503a28024f">cpu/native/backtrace/backtrace.c</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16809/files#diff-2faade6ca4111da06698b14cafac5e984a9631d33c3b9b579e68fd64b616df6a">cpu/native/include/backtrace.h</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16809/files#diff-95ecb45416e4dd741c73acb935fda5e9979e0191aad243eb1e418357bce7eee7">tests/backtrace/main.c</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16809/files#diff-55064d912aeb45a152b7ba65d848b16367d8dfe22512db07a07d621f424f4d70">tests/backtrace/tests/01-run.py</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16809.patch'>https://github.com/RIOT-OS/RIOT/pull/16809.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16809.diff'>https://github.com/RIOT-OS/RIOT/pull/16809.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16809">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDQAM7PSQLUZTCW663UAD473ANCNFSM5DMD52FQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABE7WYCM7U3PVJCUO4LSBHLUAD473A5CNFSM5DMD52F2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OXC65GA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16809",
"url": "https://github.com/RIOT-OS/RIOT/pull/16809",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>