[yocto] Question about remote debugging via gdbserver

Rudolf Streif rstreif at linuxfoundation.org
Mon Apr 14 07:30:20 PDT 2014


Hi Frederico,

Yes, you can do that. You can just add a source path to the debug
configuration in Eclipse. See attached screenshot.

[image: Inline image 1]
Rudi

On Sat, Apr 12, 2014 at 9:27 AM, Federico Vitali <fede.vitali at gmail.com>wrote:

> Hi everyone,
>
> I'm wondering if it is possible to debug an installed library on the
> target via gdbserver.
> I try to explain: suppose that I'm developing an application using
> gstreamel libraries.
>
> I set up eclipse / gdb to work with my target on the network. When I reach
> a gst funciont
> (e.g. gst_init) I would like to jump into the line of code of gstreamer
> which implements
> that function. Is there a way to instruct eclipse to fetch symbols and
> sources from local filesystem,
> eg:
>
> symbols:
> /opt/poky/1.5.1/sysroots/armv6-vfp-poky-linux-gnueabi/usr/lib/.debug/libgstbase-0.10.so.0.30.0
> sources: /usr/src/debug/gstreamer/0.10.36-r2/gstreamer-0.10.36/
>
>
> Thank you in advance!
>
> Federico
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140414/7f722e6e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 109376 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140414/7f722e6e/attachment.png>


More information about the yocto mailing list