[riot-notifications] [RIOT-OS/RIOT] native/backtrace: improve its print capabilitys and test (#16809)

Karl Fessel notifications at github.com
Fri Sep 3 18:57:33 CEST 2021


### Contribution description

this improve its print capabilities and test for the backtrace functionality of native 

adding symbol printing and depth information gathering making this a more complete package for using the GNU-libc execinfo.h

### Testing procedure

run the backtrace test  

compile it with 'LINKERFLAGS=-no-pie' and it will no longer lie to you how many lines it will print

add some or all of of the functions to you own code (just Native) 

### Issues/PRs references

fixes backtrace test which inhibits #16186

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16809

-- Commit Summary --

  * native/backtrace: improve its print capabilitys and test

-- File Changes --

    M cpu/native/backtrace/backtrace.c (26)
    M cpu/native/include/backtrace.h (14)
    M tests/backtrace/main.c (3)
    M tests/backtrace/tests/01-run.py (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16809.patch
https://github.com/RIOT-OS/RIOT/pull/16809.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16809
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210903/def8ccfb/attachment.htm>


More information about the notifications mailing list