How can I use debug packages from PPA?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I use debug packages from PPA?

wl2776
Administrator
Sorry for asking here, but Launchpad for some reason disallows me to ask there.

I've downloaded packages with debug symbols from the GStreamer-developers PPA in hope to trace execution of some functions.

How can I use them?
I've found that the files from them were installed in /usr/lib/debug/usr/lib/gstreamer-0.10 on my computer (Ubuntu 10.04)

I tried setting GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH to that location,
tried linking the examples with -L/usr/lib/debug/usr/lib/
nothing helps, the gst_parse_launch function doesn't build the pipeline.

However, the same pipeline is successfully build without debug packages.
Reply | Threaded
Open this post in threaded view
|

Re: How can I use debug packages from PPA?

Edward Hervey
Administrator
On Thu, 2010-07-22 at 08:17 -0700, wl2776 wrote:
> Sorry for asking here, but Launchpad for some reason disallows me to ask
> there.
>
> I've downloaded packages with debug symbols from the GStreamer-developers
> PPA in hope to trace execution of some functions.
>
> How can I use them?

  The same way you would use any other debug packages from Ubuntu
(warning, I'm not a debian/ubuntu expert, but gdb does work as expected
when those packages are installed).

> I've found that the files from them were installed in
> /usr/lib/debug/usr/lib/gstreamer-0.10 on my computer (Ubuntu 10.04)

  Those are the .debug files (i.e. not the code, but all the file
content that was stripped away). gdb should be able to pick them up
fine.

>
> I tried setting GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH to that location,
> tried linking the examples with -L/usr/lib/debug/usr/lib/
> nothing helps, the gst_parse_launch function doesn't build the pipeline.

  Don't do that, link to the regular /usr/* paths.

>
> However, the same pipeline is successfully build without debug packages.


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel