-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 22, 2003, at 10:05, Charles Lepple wrote:
On Saturday, November 22, 2003, at 09:27 AM, Peter O'Gorman wrote:
[...]
It would, of course, have the adverse effect of making backtraces virtually
unreadable.

One of the additions to rpm-build in recent times is the creation of a splitoff-like package with debug symbols (libraries with empty code and data sections, just debug info). That way, if you have a core file from a stripped package, you can install all the necessary *-debug packages, convince gdb to read the symbols from them (I'm a little fuzzy on how this works), and get the old-style symbolic backtrace.


I'm pretty sure the creation of the -debug packages relies on a feature of binutils which does not exist in Darwin, but I haven't looked very closely. Has anyone else ever looked at this?

We could always have any package that uses the "Strip: foo.0.0.0.shlib" or whatever automatically generate an extra splitoff, called "foo-shlibs-syms", that contains the ordinary shared libraries, before the symbols have been stripped. Then if somebody has a problem they can install the unstripped libraries and then backtrace it.


Cheers,
Kyle Moffett

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/v32hag7LSGnFq10RAlaSAKCk+/u24HtSQwAGccm1AIS2G1LqkwCfcCsk
IqFpXq1sYt+zuJ81KH3nCfQ=
=kOCK
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to