Brandon,

If we just built GHC with debug symbols enabled, everything should just work from a packaging perspective?

On Fri, Jan 2, 2015 at 7:26 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Fri, Jan 2, 2015 at 6:18 PM, Johan Tibell <johan.tibell@gmail.com> wrote:
I believe other compilers, e.g. GCC, ship debug symbols in separate files (https://packages.debian.org/sid/libc-dbg
 
) that e.g. GDB can then look up.

Lookaside debugging information is (a) a Linux-ism, although possibly also included in mingw --- but not OS X or the *BSDs (b) on RPM-based systems at least, is split out of objects into separate files, and thence into debug packages, by the standard RPM support macros before the standard strip step (I expect debuild does something similar on Debian-ish systems).

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net