[GHC] #9894: Presence of DWARF debug symbols doesn't result in working backtraces in GDB
GHC
ghc-devs at haskell.org
Wed Dec 17 13:35:27 UTC 2014
#9894: Presence of DWARF debug symbols doesn't result in working backtraces in GDB
---------------------------------------+----------------------------------
Reporter: tibbe | Owner: scpmw
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.9
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
---------------------------------------+----------------------------------
Comment (by tibbe):
Peter tells me that I need to add
{{{
GhcRtsHcOpts += -g
GhcLibHcOpts += -g
}}}
at the bottom of mk/build.mk to get debug symbols working.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9894#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list