[Gammaray-interest] Cross-platform remote debugging

Peter Kümmel syntheticpp at gmx.net
Thu Jan 23 22:26:53 CET 2014


On 23.01.2014 10:05, Volker Krause wrote:
> On Wednesday 22 January 2014 17:52:26 Peter Kümmel wrote:
>> Is 2.0 now ready for remote debugging from desktop to embedded ARM systems?
>
> yep, we have tested this on Raspberry Pi and Freescale i.MX6 systems running
> Linux. It has also been successfully used on (OMAP-based IIRC) QNX/BB10
> systems, but there you might still need some manual fiddling with LD_PRELOAD
> to get it working. We also have tested it on a system with a custom stripped-
> down Qt5 that doesn't contain QtWidgets. In the unlikely case the target
> doesn't have QtGui either, some more work is required to completely split this
> out into plug-ins. It also compiles fine for Android, but we haven't looked
> into how to do the injection there yet.
>
> For cross-compilation with CMake you find a few example toolchain files
> checked in (cmake/ subdir).
>
> The communication protocol is based on QDataStream and thus works between Qt
> versions, between operating systems and between architectures. We have tested
> various combinations, but I think we had a strong bias towards little endian
> systems.
>
> regards,
> Volker
>

This sounds great! I will definitely try it.
I also have a headless app and I will see if I could make it work.

Had a look at the cross-compiling cmake files, looks straight forward.
I assume I have to define GAMMARAY_PROBE_ONLY_BUILD when cross-compiling,
so why not defining GAMMARAY_PROBE_ONLY_BUILD already in the target cmake file?

Thanks,
Peter




More information about the Gammaray-interest mailing list