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

benpicco notifications at github.com
Sat Sep 4 14:54:56 CEST 2021


What's a bit confusing is that the test now prints the backtrace twice

#### before
```
main(): This is RIOT! (Version: 2021.10-devel-579-g473ab)
BACKTRACE_SIZE: 4
0x5658e65c
0x5658e7f8
0xf7d82a19
0x5658ed7c
```

##### this patch
```
main(): This is RIOT! (Version: 2021.10-devel-580-gf94882)
BACKTRACE_SIZE: 4
0x56574673
0x565748db
0xf7d61a19
0x56574e5f
/home/benpicco/dev/RIOT/tests/backtrace/bin/native/tests_backtrace.elf(+0x1678) [0x56574678]
/home/benpicco/dev/RIOT/tests/backtrace/bin/native/tests_backtrace.elf(+0x18db) [0x565748db]
/lib/i386-linux-gnu/libc.so.6(makecontext+0x109) [0xf7d61a19]
/home/benpicco/dev/RIOT/tests/backtrace/bin/native/tests_backtrace.elf(+0x1e5f) [0x56574e5f]
```

-- 
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#issuecomment-912969816
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210904/89ed268f/attachment.htm>


More information about the notifications mailing list