Wed Jun 27 02:36:46 PDT 2007  Simon Marlow <[EMAIL PROTECTED]>
  * +RTS -xbXXXXX sets the "heap base" to 0xXXXXXX
  When debugging the GC and storage manager we often want repeated runs
  of the program to allocate memory at the same addresses, so that we
  can set watch points.  Unfortunately the OS doesn't always give us
  memory at predictable addresses.  This flag gives the OS a hint as to
  where we would like our memory allocated.  Previously I did this by
  changing the HEAP_BASE setting in MBlock.h and recompiling, this patch
  just adds a flag so I don't have to recompile.

    M ./includes/RtsFlags.h +2
    M ./rts/RtsFlags.c +22
    M ./rts/sm/MBlock.c -1 +12
    M ./rts/sm/MBlock.h -16 +1
    M ./rts/sm/Storage.c +2

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to