* Fix io_ptrace read in 64bits

This commit is contained in:
Nibble 2010-11-19 11:09:49 +01:00
parent 96797846e9
commit cfc6dcea96

View File

@ -39,7 +39,7 @@ static int debug_os_read_at(int pid, void *buf, int sz, ut64 addr) {
(void *)(&((long*)(long)addr)[x]));
if (((long *)buf)[x] == -1) // && errno)
return s;
s += 4;
s += sizeof (long);
}
if (last) {
lr = debug_read_raw (pid, &((long*)(long)addr)[x]);