Hi Frederico,

Sorry for the delayed response.

If you want to step into code for which the debugger does not have the
source info Eclipse should actually tell you. But as a prerequisite you
will need to install the dev and debug packages for gstreamer (and
eventually others) to the root file system you are using on your
development host. For that you need to tell YP to include them which you do
by adding dev-pkg and dbg-pkg to EXTRA_IMAGE_INSTALL in the conf/local.conf
file of your build environment.

Rudi


On Fri, Apr 18, 2014 at 1:28 AM, Federico Vitali <fede.vit...@gmail.com>wrote:

> Goodmorning Rudolf,
>
> thank you again for your time.
>
> I have not explained my goal very well, so I try to explain with a
> specific example.
> I'm working with gstreamer for a project I'm following for my company.
> Let's take
> the gstreamer "hello world" application, here is the source code:
>
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html#section-helloworld
>
> I've succesfully built and deployed the application. I can debug and
> follow the code of the application line
> by line with eclipse. Now, if I want to enter into a function of gstreamer
> libs (e.g. gst_pipeline_new),
> what should I have to do?
>
> Federico
>
>
>
>
>
> 2014-04-16 21:22 GMT+02:00 Rudolf Streif <rstr...@linuxfoundation.org>:
>
> Hi Federico,
>>
>> I knew that I can add source paths to the debugger.
>>>
>> Ok, if that's not the issue what exactly is not working for you?
>>
>>
>>> 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?
>>>
>> No, that's actually sample code of a simple ls application that I use for
>> teaching a class on Linux APIs.
>>
>> Cheers,
>> Rudi
>>
>
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to