Changes between Version 1 and Version 2 of DebuggingGhcCrashes


Ignore:
Timestamp:
Mar 31, 2006 10:33:44 AM (9 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingGhcCrashes

    v1 v2  
    3737   code, and debugging info for gdb.
    3838
    39  * Grab our gdb macros.
     39 * Grab our [attachment:".gdbinit" gdb macros].
    4040
    4141 * Run the program in gdb until it crashes, type {{{where}}} to find
     
    168168
    169169You can display memory in gdb with something like {{{x/8a}}} to
    170 display 4 words of memory, or using our gdb macros you get slighty
     170display 4 words of memory, or using our [attachment:".gdbinit" gdb macros] you get slighty
    171171nicer output:
    172172
     
    259259The {{{type}}} field tells us what kind of object this is, in this
    260260case {{{36}}}}, which means a {{{RET_SMALL}}} stack frame (see
    261 [http://darcs.haskell.org/ghc/ghc/includes/ClosureTypes.h
    262 ClosureTypes.h] for a list of closure types, but make sure you are
     261[http://darcs.haskell.org/ghc/ghc/includes/ClosureTypes.h ClosureTypes.h]
     262for a list of closure types, but make sure you are
    263263looking at the right version of this file for the build you're using,
    264264because the types do change).