Changes between Version 9 and Version 10 of Debugging/CompiledCode


Ignore:
Timestamp:
May 14, 2011 5:19:04 PM (4 years ago)
Author:
ezyang
Comment:

formatting

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/CompiledCode

    v9 v10  
    332332you're building for, you'll need to modify some values in your gdbinit to
    333333make things work for you.  In particular, you need to know what values
    334 BaseReg and Sp are.  You can find them out by looking at
     334{{{BaseReg}}} and {{{Sp}}} are.  You can find them out by looking at
    335335{{{includes/stg/MachRegs.h}}} (as well as all of the other registers.)
    336 In particular, on x86-32, BaseReg is in ebx and Sp is in ebp, while on
    337 x84-64, BaseReg is in r13 and Sp is in rbp.
     336In particular, on x86-32, {{{BaseReg}}} is in {{{ebx}}} and {{{Sp}}} is in {{{ebp}}}, while on
     337x84-64, {{{BaseReg}}} is in {{{r13}}} and {{{Sp}}} is in {{{rbp}}}.
    338338
    339339== When you've found & fixed it ==