The attached patch ensures the source adds debug symbols and doesn't strip symbols during the linking phase. Testing with "pkg-create-dbgsym" installed, dh_strip correctly generates a .ddeb file that when installed can be seen to contain the previously missing symbols:
$ objdump -t /usr/lib/debug/usr/bin/dmg2img /usr/lib/debug/usr/bin/dmg2img: file format elf32-i386 SYMBOL TABLE: 08048134 l d .interp 00000000 .interp 08048148 l d .note.ABI-tag 00000000 .note.ABI-tag 08048168 l d .note.gnu.build-id 00000000 .note.gnu.build-id ... 08049440 g F .text 00000059 mem_overflow 00000000 F *UND* 00000000 exit@@GLIBC_2.0 0804c42a g F .text 00000000 .hidden __i686.get_pc_thunk.bx 08049a40 g F .text 00002537 main 080494a0 g F .text 000001ba percentage 0804898c g F .init 00000000 _init 00000000 F *UND* 00000000 BZ2_bzCompressEnd 08048d50 g F .text 0000004a convert_char8 dmg2img (1.6.1-1ubuntu2) lucid; urgency=low * Enable debug symbols to be included in -dbgsym package (LP: #546108) -- TJ <[email protected]> Thu, 25 Mar 2010 07:00:00 +0000 ** Patch added: "Retain debug symbols during source build" http://launchpadlibrarian.net/41959945/02-retain-debug-symbols-for-packaging-dbgsym.patch -- No symbols in dbgsym package https://bugs.launchpad.net/bugs/546108 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
