Monday, 2019-12-02

*** tpb has joined #tomu00:00
xobsovf: gdb has a ton of stuff it can do, and it's not well documented. I didn't know about that!00:01
xobsMy 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 IRC00: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 fomu00:22
xobsMaybe 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 IRC01:14
*** earthnative has joined #tomu01:14
*** earthnative has quit IRC02:33
*** nrossi has joined #tomu03:42
tntxobs: It'd be nice if you could use the SPRAM as cache :)08:33
MadHackerxobs: 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
MadHackerhttps://sourceware.org/gdb/onlinedocs/gdb/Packets.html#Packets09:14
tpbTitle: Debugging with GDB: Packets (at sourceware.org)09:14
xobsMadHacker: could be, but since I'm already writing the gdbserver, might as well skip the middleman.09:19
MadHackerTrue that! Sorry, was missing context there. :)09:20
*** earthnative has joined #tomu11:25
VercasSoooooooo Fomu and the toolchain work great on the Pinebook Pro.11:39
VercasFor anyone who's interested.11:40
VercasGDB kinda vomits Python errors but it seems to work nevertheless.11:40
xobsHooray!12:00
*** rohitksingh has quit IRC12:49
*** alexhw has quit IRC13:38
*** alexhw has joined #tomu13:46
*** emeb has joined #tomu14:55
*** CarlFK has joined #tomu15:14
*** emeb has quit IRC15:16
*** CarlFK has quit IRC15:34
*** kgugala has quit IRC16:25
*** kgugala has joined #tomu16:27
*** CarlFK has joined #tomu17:00
*** CarlFK has quit IRC17:00
*** karol2 has joined #tomu19:15
*** kgugala has quit IRC19:19
*** nrossi_ has joined #tomu19:55
*** jacobrosenthal_ has joined #tomu19:55
*** xantoz_ has joined #tomu20:00
*** nrossi has quit IRC20:02
*** olasd has quit IRC20:02
*** jimt[m] has quit IRC20:03
*** xantoz has quit IRC20:03
*** jacobrosenthal has quit IRC20:03
*** nrossi_ is now known as nrossi20:03
*** jacobrosenthal_ is now known as jacobrosenthal20:03
*** CarlFK has joined #tomu20:11
*** olasd has joined #tomu20:13
*** leons has quit IRC21:25
*** shalzz has quit IRC21:25
*** nrossi has quit IRC21:26
*** rohitksingh has joined #tomu22:20
futarisIRCcloudVercas: 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!