On 9/4/06, Graham Murray <[EMAIL PROTECTED]> wrote:
"fei huang" <[EMAIL PROTECTED]> writes:

>  however, I found the source from /usr/portage/distfiles does not match the running instance, then I realized that the
> running executable is compiled from patched or altered version of source files. Is there a way to get the matching
> source?  if there exists a solution, it might be applied to all applications under gentoo that to be debugged, i think..

Try doing 'ebuild /usr/portage/xxx/yyy/zzz.ebuild unpack' (as root)
before running gdb to debug the program.
--

thank you Graham, that's exactly what I want.. very helpful tip.

regards

daniel

gentoo-user@gentoo.org mailing list


Reply via email to