[yocto] Question about remote debugging via gdbserver

Federico Vitali fede.vitali at gmail.com
Wed Apr 16 02:33:28 PDT 2014


Thank you Rudolf!
I knew that I can add source paths to the debugger.
I see in your debug profiles that you have some binaries eg "ls". Did you
import that binary from sysrootfs on your build machine? Can you please
tell me the steps before adding the path?

Thank you again
Il giorno 14/apr/2014 16:30, "Rudolf Streif" <rstreif at linuxfoundation.org>
ha scritto:

> 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/20140416/3d055068/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/20140416/3d055068/attachment.png>


More information about the yocto mailing list