Re: Debuginfo + addr2line

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

 



> Do you have any idea where I can get some info on how this works? 

Well, read the source.  Basically, the debug information all lives in
special ELF sections, and the debuginfo files contain those.  There are
some further subtlties to it.  Just use the tools (eu-strip -f,
objcopy/strip --only-keep-debug), or look at -debuginfo packages, and you
will see what the sections look like.

> Even if you could just point me to the original patch or something for
> gdb maybe I could figure it out and try to hack something up..

If you look at current gdb sources and search for "separate_debug",
you will see all the code that deals with it.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux