All of lore.kernel.org
 help / color / mirror / Atom feed
* how to deploy gdbserver ?
@ 2015-10-15 12:56 Valentin Le bescond
  2015-10-15 13:44 ` winfried.dobbe
  0 siblings, 1 reply; 8+ messages in thread
From: Valentin Le bescond @ 2015-10-15 12:56 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

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 ?

Thanks


-- 
Valentin LE BESCOND

[-- Attachment #2: Type: text/html, Size: 516 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 12:56 how to deploy gdbserver ? Valentin Le bescond
@ 2015-10-15 13:44 ` winfried.dobbe
  2015-10-15 13:57   ` Daniel.
  0 siblings, 1 reply; 8+ messages in thread
From: winfried.dobbe @ 2015-10-15 13:44 UTC (permalink / raw)
  To: yocto

> 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.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 13:44 ` winfried.dobbe
@ 2015-10-15 13:57   ` Daniel.
  2015-10-15 14:39     ` Valentin Le bescond
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel. @ 2015-10-15 13:57 UTC (permalink / raw)
  To: winfried.dobbe; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

Works fine with emacs also.

2015-10-15 10:44 GMT-03:00 <winfried.dobbe@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
*"Do or do not. There is no try"*
  *Yoda Master*

[-- Attachment #2: Type: text/html, Size: 1616 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 13:57   ` Daniel.
@ 2015-10-15 14:39     ` Valentin Le bescond
  2015-10-15 15:10       ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Valentin Le bescond @ 2015-10-15 14:39 UTC (permalink / raw)
  To: Daniel., winfried.dobbe; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

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")

Anyway, to stick with the initial question, thanks !


Le jeu. 15 oct. 2015 à 15:58, Daniel. <danielhilst@gmail.com> a écrit :

> Works fine with emacs also.
>
> 2015-10-15 10:44 GMT-03:00 <winfried.dobbe@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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
>
> --
> *"Do or do not. There is no try"*
>   *Yoda Master*
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
Valentin LE BESCOND

[-- Attachment #2: Type: text/html, Size: 2950 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 14:39     ` Valentin Le bescond
@ 2015-10-15 15:10       ` Gary Thomas
  2015-10-15 15:16         ` Valentin Le bescond
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2015-10-15 15:10 UTC (permalink / raw)
  To: yocto

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@gmail.com <mailto:danielhilst@gmail.com>> a écrit :
>
>     Works fine with emacs also.
>
>     2015-10-15 10:44 GMT-03:00 <winfried.dobbe@xmsnet.nl <mailto:winfried.dobbe@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@yoctoproject.org <mailto:yocto@yoctoproject.org>
>         https://lists.yoctoproject.org/listinfo/yocto
>
>
>
>
>     --
>     /"Do or do not. There is no try"/
>     ///*Yoda Master*/
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Valentin LE BESCOND
>
>

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 15:10       ` Gary Thomas
@ 2015-10-15 15:16         ` Valentin Le bescond
  2015-10-15 15:31           ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Valentin Le bescond @ 2015-10-15 15:16 UTC (permalink / raw)
  To: Gary Thomas, yocto

[-- Attachment #1: Type: text/plain, Size: 3288 bytes --]

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"



Le jeu. 15 oct. 2015 à 17:10, Gary Thomas <gary@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@gmail.com <mailto:
> danielhilst@gmail.com>> a écrit :
> >
> >     Works fine with emacs also.
> >
> >     2015-10-15 10:44 GMT-03:00 <winfried.dobbe@xmsnet.nl <mailto:
> winfried.dobbe@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@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >         https://lists.yoctoproject.org/listinfo/yocto
> >
> >
> >
> >
> >     --
> >     /"Do or do not. There is no try"/
> >     ///*Yoda Master*/
> >     --
> >     _______________________________________________
> >     yocto mailing list
> >     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >     https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > Valentin LE BESCOND
> >
> >
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
Valentin LE BESCOND

[-- Attachment #2: Type: text/html, Size: 5223 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 15:16         ` Valentin Le bescond
@ 2015-10-15 15:31           ` Gary Thomas
  2015-10-15 15:38             ` Valentin Le bescond
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2015-10-15 15:31 UTC (permalink / raw)
  To: Valentin Le bescond, yocto

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@mlbassoc.com <mailto:gary@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@gmail.com <mailto:danielhilst@gmail.com> <mailto:danielhilst@gmail.com <mailto:danielhilst@gmail.com>>> a écrit :
>     >
>     >     Works fine with emacs also.
>     >
>     >     2015-10-15 10:44 GMT-03:00 <winfried.dobbe@xmsnet.nl <mailto:winfried.dobbe@xmsnet.nl> <mailto:winfried.dobbe@xmsnet.nl <mailto:winfried.dobbe@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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
>     >https://lists.yoctoproject.org/listinfo/yocto
>     >
>     >
>     >
>     >
>     >     --
>     >     /"Do or do not. There is no try"/
>     >     ///*Yoda Master*/
>     >     --
>     >     _______________________________________________
>     >     yocto mailing list
>     >yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
>     >https://lists.yoctoproject.org/listinfo/yocto
>     >
>     > --
>     > Valentin LE BESCOND
>     >
>     >
>
>     --
>     ------------------------------------------------------------
>     Gary Thomas                 |  Consulting for the
>     MLB Associates              |    Embedded world
>     ------------------------------------------------------------
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Valentin LE BESCOND

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: how to deploy gdbserver ?
  2015-10-15 15:31           ` Gary Thomas
@ 2015-10-15 15:38             ` Valentin Le bescond
  0 siblings, 0 replies; 8+ messages in thread
From: Valentin Le bescond @ 2015-10-15 15:38 UTC (permalink / raw)
  To: Gary Thomas, yocto

[-- Attachment #1: Type: text/plain, Size: 5073 bytes --]

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@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@mlbassoc.com <mailto:
> gary@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@gmail.com
> <mailto:danielhilst@gmail.com> <mailto:danielhilst@gmail.com <mailto:
> danielhilst@gmail.com>>> a écrit :
> >     >
> >     >     Works fine with emacs also.
> >     >
> >     >     2015-10-15 10:44 GMT-03:00 <winfried.dobbe@xmsnet.nl <mailto:
> winfried.dobbe@xmsnet.nl> <mailto:winfried.dobbe@xmsnet.nl <mailto:
> winfried.dobbe@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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
> >     >https://lists.yoctoproject.org/listinfo/yocto
> >     >
> >     >
> >     >
> >     >
> >     >     --
> >     >     /"Do or do not. There is no try"/
> >     >     ///*Yoda Master*/
> >     >     --
> >     >     _______________________________________________
> >     >     yocto mailing list
> >     >yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
> >     >https://lists.yoctoproject.org/listinfo/yocto
> >     >
> >     > --
> >     > Valentin LE BESCOND
> >     >
> >     >
> >
> >     --
> >     ------------------------------------------------------------
> >     Gary Thomas                 |  Consulting for the
> >     MLB Associates              |    Embedded world
> >     ------------------------------------------------------------
> >     --
> >     _______________________________________________
> >     yocto mailing list
> >     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >     https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > Valentin LE BESCOND
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
-- 
Valentin LE BESCOND

[-- Attachment #2: Type: text/html, Size: 8286 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-15 15:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 12:56 how to deploy gdbserver ? Valentin Le bescond
2015-10-15 13:44 ` winfried.dobbe
2015-10-15 13:57   ` Daniel.
2015-10-15 14:39     ` Valentin Le bescond
2015-10-15 15:10       ` Gary Thomas
2015-10-15 15:16         ` Valentin Le bescond
2015-10-15 15:31           ` Gary Thomas
2015-10-15 15:38             ` Valentin Le bescond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.