On 12/19/12, alex@xxxxxxxxxxxxxxxx <alex@xxxxxxxxxxxxxxxx> wrote: > c8d82cf: Started adding x86_64 support to Debugger. > > Stack tracing doesn't work yet, nor does single stepping (somehow > manages to completely freeze the system). Single stepping did actually work over here, though there are some interesting errors, i.e. in some cases Step Over simply steps into the function instead of over it, and in other cases it appears to do nothing until you hit Step Out, at which point you wind up in the actual function again. Step Out likewise doesn't appear to quite behave as expected. As far as stack tracing is concerned, at a glance one problem is that X86_64_REGISTER_RIP isn't present in your DWARF register mapping. From some googling it appears to correspond to register 16 [1] but that didn't quite seem to fix it for me, though that could also be due to the missing implementation of ArchitectureX8664::UpdateStackFrameCpuState(). HTH, Rene [1] http://www.ucw.cz/~hubicka/papers/abi/node14.html