| *** tpb has joined #tomu | 00:00 | |
| xobs | ovf: gdb has a ton of stuff it can do, and it's not well documented. I didn't know about that! | 00:01 |
|---|---|---|
| xobs | My issue with gdb is how unstable it is. It segfaults all the time. It may be easier and more reliable just to make wishbone requests to pull the $pc out and construct a graph from that. | 00:02 |
| *** emeb has quit IRC | 00:21 | |
| ovf | (almost) never had gdb segfault on me, but then i'm mostly debugging boring architectures. just dumping pc might be good enough especially as you only need a flat profile to identify hot code. 5 seconds sounds like pretty low granularity though, even for python on a fomu | 00:22 |
| xobs | Maybe it just doesn't deal with gdbserver very well. Or riscv/arm? Even when debugging "normal" platforms using openocd on Linux, I've had gdb throw asserts maybe once every couple of hours, and offer to create a core file and exit. Sometimes it's an offer I can't refuse. | 00:24 |
| *** earthnative has quit IRC | 01:14 | |
| *** earthnative has joined #tomu | 01:14 | |
| *** earthnative has quit IRC | 02:33 | |
| *** nrossi has joined #tomu | 03:42 | |
| tnt | xobs: It'd be nice if you could use the SPRAM as cache :) | 08:33 |
| MadHacker | xobs: The gdbserver protocol is pretty simple. If you just want a log of PC values, you could throw together a script to do so fairly quick. | 09:14 |
| MadHacker | https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#Packets | 09:14 |
| tpb | Title: Debugging with GDB: Packets (at sourceware.org) | 09:14 |
| xobs | MadHacker: could be, but since I'm already writing the gdbserver, might as well skip the middleman. | 09:19 |
| MadHacker | True that! Sorry, was missing context there. :) | 09:20 |
| *** earthnative has joined #tomu | 11:25 | |
| Vercas | Soooooooo Fomu and the toolchain work great on the Pinebook Pro. | 11:39 |
| Vercas | For anyone who's interested. | 11:40 |
| Vercas | GDB kinda vomits Python errors but it seems to work nevertheless. | 11:40 |
| xobs | Hooray! | 12:00 |
| *** rohitksingh has quit IRC | 12:49 | |
| *** alexhw has quit IRC | 13:38 | |
| *** alexhw has joined #tomu | 13:46 | |
| *** emeb has joined #tomu | 14:55 | |
| *** CarlFK has joined #tomu | 15:14 | |
| *** emeb has quit IRC | 15:16 | |
| *** CarlFK has quit IRC | 15:34 | |
| *** kgugala has quit IRC | 16:25 | |
| *** kgugala has joined #tomu | 16:27 | |
| *** CarlFK has joined #tomu | 17:00 | |
| *** CarlFK has quit IRC | 17:00 | |
| *** karol2 has joined #tomu | 19:15 | |
| *** kgugala has quit IRC | 19:19 | |
| *** nrossi_ has joined #tomu | 19:55 | |
| *** jacobrosenthal_ has joined #tomu | 19:55 | |
| *** xantoz_ has joined #tomu | 20:00 | |
| *** nrossi has quit IRC | 20:02 | |
| *** olasd has quit IRC | 20:02 | |
| *** jimt[m] has quit IRC | 20:03 | |
| *** xantoz has quit IRC | 20:03 | |
| *** jacobrosenthal has quit IRC | 20:03 | |
| *** nrossi_ is now known as nrossi | 20:03 | |
| *** jacobrosenthal_ is now known as jacobrosenthal | 20:03 | |
| *** CarlFK has joined #tomu | 20:11 | |
| *** olasd has joined #tomu | 20:13 | |
| *** leons has quit IRC | 21:25 | |
| *** shalzz has quit IRC | 21:25 | |
| *** nrossi has quit IRC | 21:26 | |
| *** rohitksingh has joined #tomu | 22:20 | |
| futarisIRCcloud | Vercas: Cool. Thought it would. I've run the toolchain fine on Samsung Linux on Dex on a Note 8. | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!