Alex Schuster wrote:
Anthony Metcalf writes:
Alex Schuster wrote:
Um, I meand -nostrip, as I wrote in the example below. But I just
tried for myself - I see the -g2 (multiple times), but after
building, stripping takes place, even with the one-time
FEATURES=-nostrip emerge -1 libxml2 approach:
Emmm, FEATURES="nostrip" will not strip the binary, i.e. leave the
debugging info there.....FEATURES="-nostrip" will jnot, not strip the
binary, i.e it will strip the bianry, i.e. it will remove the debugging
info! The " marks are vital....

Oh my. I wanted to correct my mistake, but did that the other way around. I even had the -nostrip in my own test, at least now know why it failed :) FEATURES="$FEATURES nostrip" seems to work just fine.

        Thanks for spotting this,
        Wonko
This seems like it should work, but I still can't step into the libxml2 functions. In /etc/portage/env/dev-libs there is a file called libxml2 the results of cat are:
  CFLAGS="$CFLAGS -g2"
  FEATURES="$FEATURES nostrip"

When I try to step into a library function, gdb print a line number and then seem to be lost and can't find anything.

Thanks again.

--
[email protected] mailing list

Reply via email to