[yocto] how to deploy gdbserver ?

Valentin Le bescond valentin.lebescond at gmail.com
Thu Oct 15 08:38:50 PDT 2015


Good point.

But so far my experience with yocto forced me to go back and forth the 1.6
1.7 and 1.8 branches depending on the layers.

So I kind of stopped where it worked... without worrying about gdb that's
true.

I won't go updating everything for testing purpose right now so I'll leave
it like that

Thanks !


Le jeu. 15 oct. 2015 à 17:31, Gary Thomas <gary at mlbassoc.com> a écrit :

> On 2015-10-15 09:16, Valentin Le bescond wrote:
> > sure !
> >
> > something like this ?
> >
> > Build Configuration:
> > BB_VERSION = "1.24.0"
> > BUILD_SYS = "x86_64-linux"
> > NATIVELSBSTRING = "Fedora-22"
> > TARGET_SYS = "arm-poky-linux-gnueabi"
> > MACHINE = "raspberrypi"
> > DISTRO = "poky"
> > DISTRO_VERSION = "1.7.2"
> > TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
> > TARGET_FPU = "vfp"
> > meta
> > meta-yocto
> > meta-yocto-bsp = "dizzy:85f6cf736b5ecf3af6d1596b782dae81b9ac1f11"
> > meta-raspberrypi = "fido:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"
> > meta-networking
> > meta-ruby
> > meta-oe
> > meta-python = "dizzy:5b6f39ce325d490fc382d5d59c5b8b9d5fa38b38"
>
> I think you'd be better off by updating to later branches and also you
> should try
> to use corresponding branches (e.g. mixing dizzy and fido is probably a
> source
> for problems).
>
> >
> >
> >
> > Le jeu. 15 oct. 2015 à 17:10, Gary Thomas <gary at mlbassoc.com <mailto:
> gary at mlbassoc.com>> a écrit :
> >
> >     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> <mailto: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> <mailto: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> <mailto:
> 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> <mailto:
> 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
> >     ------------------------------------------------------------
> >     --
> >     _______________________________________________
> >     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
> ------------------------------------------------------------
>
-- 
Valentin LE BESCOND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151015/54b46192/attachment.html>


More information about the yocto mailing list