Changes between Version 16 and Version 17 of DebuggingGhcCrashes


Ignore:
Timestamp:
Aug 20, 2009 3:38:14 PM (6 years ago)
Author:
simonmar
Comment:

fix paths to header files

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingGhcCrashes

    v16 v17  
    188188register {{{rbx}}}, which corresponds to the STG register {{{R1}}} on
    189189a recent x86_64 build.  Check
    190 [http://darcs.haskell.org/ghc/includes/MachRegs.h MachRegs.h] to
     190[http://darcs.haskell.org/ghc/includes/stg/MachRegs.h MachRegs.h] to
    191191see which machine registers correspond to which STG registers on your
    192192platform.
     
    197197constructor), followed by any number of payload words (just one word
    198198containing the value 5, here).  Full details on closure layouts are in
    199 [http://darcs.haskell.org/ghc/includes/Closures.h Closures.h].
     199[http://darcs.haskell.org/ghc/includes/rts/storage/Closures.h Closures.h].
    200200
    201201It looks like the next word contains garbage, probably because it is
     
    219219of jumping to the entry code for a closure can be done with a single
    220220indirection).  The layout of info tables is defined in
    221 [http://darcs.haskell.org/ghc/includes/InfoTables.h InfoTables.h].
     221[http://darcs.haskell.org/ghc/includes/rts/storage/InfoTables.h InfoTables.h].
    222222
    223223To display the stack, you need to know what the {{{Sp}}} register is
     
    264264The {{{type}}} field tells us what kind of object this is, in this
    265265case {{{36}}}}, which means a {{{RET_SMALL}}} stack frame (see
    266 [http://darcs.haskell.org/ghc/includes/ClosureTypes.h ClosureTypes.h]
     266[http://darcs.haskell.org/ghc/includes/rts/storage/ClosureTypes.h ClosureTypes.h]
    267267for a list of closure types, but make sure you are
    268268looking at the right version of this file for the build you're using,