[yocto] how to deploy gdbserver ?

Gary Thomas gary at mlbassoc.com
Thu Oct 15 08:10:18 PDT 2015


On 2015-10-15 08:39, Valentin Le bescond wrote:
> Hello
>
> I believe tools-debug works but unfortunately I have errors building libaio and other stuff (it says "tmp/sysroots/raspberrypi/usr/include/gnu/stubs.h:10:29: fatal error:
> gnu/stubs-hard.h: No such file or directory")

Can you send more details about this error (what version of Yocto meta-data you are using, etc)?
I just built this for the RaspberryPi and RaspberryPi2 using Poky/Yocto master (jethro) with no problems.

>
> Anyway, to stick with the initial question, thanks !
>
>
> Le jeu. 15 oct. 2015 à 15:58, Daniel. <danielhilst at gmail.com <mailto:danielhilst at gmail.com>> a écrit :
>
>     Works fine with emacs also.
>
>     2015-10-15 10:44 GMT-03:00 <winfried.dobbe at xmsnet.nl <mailto:winfried.dobbe at xmsnet.nl>>:
>
>         > Hi everyone,
>         >
>         > I want to be able to debug my target machine (raspberrypi) remotely
>         > through
>         > qtcretor on host.
>         >
>         > I can't seem to find a way to deploy the gdbserver software though.
>         > I built the gdb-cross-arm but don't see any gdbserver on the target with
>         > hob (poky 1.7.2) ?
>         >
>         > What am I missing ?
>
>         When I build my image with
>
>         EXTRA_IMAGE_FEATURES += "tools-debug"
>
>         both gdb and gdbserver are installed in the target rootfs. Remote
>         debugging worked out-of-the-box with QtCreator.
>
>
>
>
>
>         --
>         _______________________________________________
>         yocto mailing list
>         yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>         https://lists.yoctoproject.org/listinfo/yocto
>
>
>
>
>     --
>     /"Do or do not. There is no try"/
>     ///*Yoda Master*/
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Valentin LE BESCOND
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list