Changeset 2786 for neercs


Ignore:
Timestamp:
Aug 28, 2008, 8:43:29 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • mytrace.c: amd64 build fix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/mytrace.c

    r2785 r2786  
    138138#   define RDX rdx
    139139#   define RSP rsp
     140#   define RBP rbp
    140141#   define RIP rip
    141142#   define RDI rdi
     
    148149#   define RDX edx
    149150#   define RSP esp
     151#   define RBP ebp
    150152#   define RIP eip
    151153#   define RDI edi
     
    547549        while((ptrace(PTRACE_PEEKTEXT, t->pid, oldregs.RIP - offset, 0) & 0xffff) != 0x340f)
    548550            offset++;
    549         oldregs.ebp = oldregs.esp;
     551        oldregs.RBP = oldregs.RSP;
    550552    }
    551553
Note: See TracChangeset for help on using the changeset viewer.