Changes between Version 10 and Version 11 of Debugging/CompiledCode


Ignore:
Timestamp:
Jun 1, 2011 9:15:58 AM (4 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/CompiledCode

    v10 v11  
    304304}}}
    305305   Also note that an empty gdb request repeats the previous command, in this case {{{si}}}.
    306  * Sometimes you need to look and step through the compiled code of Haskell libraries. I find it useful to change the lines 43 and 48 of file {{{mk/suffix.mk}}} as follows:
     306 * Sometimes you need to look and step through the compiled code of Haskell libraries. (!ToDo: the following is out of date, and refers to the old build system.  We should now use `-ddump-to-file`.)  I find it useful to change the lines 43 and 48 of file {{{mk/suffix.mk}}} as follows:
    307307{{{
    30830843:  $(HC) $(HC_OPTS) -c $< -o $@  -ohi $(basename $@).$(way_)hi -ddump-simpl -ddump-cmm -ddump-stg > $@.output
     
    310310}}}
    311311   Now, I can use file {{{libraries/base/GHC/TopHandler.o.output}}} to make sense of what is going on in {{{TopHandler.o}}}.
     312
    312313
    313314== Mapping back to the STG code ==