[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debug packages



A Dimarts, 20 de maig de 2014, Rebecca N. Palmer va escriure:
> The purpose of a -dbg package is to provide a mapping between binary 
> addresses and source line numbers/variable names, not to provide the 
> source itself: it's working if your debug backtraces are of the form
> 
> #3  0x0000000000ed4188 in SGPropertyNode::set_string (this=0x7eaa480,
>      val=0x20d79a0 "Shaders/cloud-shadowfunc.frag")
>      at /home/palmer/fs_dev/git/simgear/simgear/props/props.cxx:511
> 
> (note the file name and line number) rather than
> 
> #2  0x00007ffff5aef83d in g_input_stream_read ()
>     from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> #3  0x00007ffff669c3e5 in ?? ()
>     from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
> 
> The source itself is in the source package, which can be installed with 
> "apt-get source $package" if you have a deb-src line in 
> /etc/apt/sources.list.  This installs it in the current directory owned 
> by the current user (i.e. conveniently editable), while apt-get 
> install'd files are normally owned and editable only by root.

Thanks for the answer,

then I understand that the user should install the sources, and after point 
the local sources to the source showed by gdb.

Thanks for the info,

Regards,

Leopold




-- 
--
Linux User 152692
Catalonia

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: