Re: Debugging the RTS

2015-05-16 Thread Thomas Miedema
On Sat, May 16, 2015 at 4:30 AM, Jost Berthold berth...@mathematik.uni-marburg.de wrote: I have added https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/CompilerWays Excellent. This page also has some information on ways, maybe they could be merged:

Re: Debugging the RTS

2015-05-15 Thread Jost Berthold
: Debugging the RTS Searching for online resources brought me to https://ghc.haskell.org/trac/ghc/wiki/Debugging and https://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem This mail seems to be a more detailed description than available on the wiki. That page refers to GHC 6.12. Would it make

RE: Debugging the RTS

2015-05-15 Thread Simon Peyton Jones
: Re: Debugging the RTS Searching for online resources brought me to https://ghc.haskell.org/trac/ghc/wiki/Debugging and https://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem This mail seems to be a more detailed description than available on the wiki. That page refers to GHC 6.12. Would

Re: Debugging the RTS

2015-05-15 Thread Lennart Kolmodin
options you can use. Happy debugging! / Jost On 05/14/2015 10:00 PM, ghc-devs-requ...@haskell.org wrote: Date: Thu, 14 May 2015 18:36:04 +1000 From: Erik de Castro Lopo mle...@mega-nerd.com To: ghc-devs@haskell.org Subject: Debugging the RTS Message-ID: 20150514183604.2476bcd6a85ef1430

Re: Debugging the RTS

2015-05-15 Thread Erik de Castro Lopo
Jost Berthold wrote: To build a GHC with debug-way RTS, you need to add GhcRtsWays += debug to your build.mk (also see mk/config.mk{.in}, which gathers the default ways to build depending on platform and build configuration). Since we're talking about updating the documentation, I would

Re: Debugging the RTS

2015-05-15 Thread Jost Berthold
On 05/15/2015 09:17 PM, Simon Peyton Jones wrote: Good idea. I think it’d great if Jost (or someone else) felt able to update those wiki pages with the info in his email. I have added https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/CompilerWays and linked to it from the debugging page

Re: Debugging the RTS

2015-05-14 Thread Jost Berthold
-nerd.com To: ghc-devs@haskell.org Subject: Debugging the RTS Message-ID: 20150514183604.2476bcd6a85ef1430...@mega-nerd.com Content-Type: text/plain; charset=US-ASCII Hi all, I'm trying to debug a AArch64/Linux specific RTS issue and digging around in the rts C code, I see a large amount of code

Debugging the RTS

2015-05-14 Thread Erik de Castro Lopo
Hi all, I'm trying to debug a AArch64/Linux specific RTS issue and digging around in the rts C code, I see a large amount of code wrapped in #if DEBUG type statements, but no way to enable in either mk/build.mk or it seems in any of the other build related settings files in the mk/ directory.