Mercurial > hg > CbC > old > device
diff .gdbinit @ 752:a38f18a08b30
i64 continue... struct
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 14 Nov 2010 05:16:14 +0900 |
parents | c2c709727221 |
children | 684dcbd0e170 |
line wrap: on
line diff
--- a/.gdbinit Sun Nov 14 04:56:02 2010 +0900 +++ b/.gdbinit Sun Nov 14 05:16:14 2010 +0900 @@ -1,16 +1,16 @@ tb main define regs -call (void)printf("eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx\nesi=%08lx edi=%08lx ebp=%08lx esp=%08lx eip=%08lx\n",$eax,$ebx,$ecx,$edx,$esi,$edi,$ebp,$esp,$eip) +call (void)printf("rax=%08lx rbx=%08lx rcx=%08lx rdx=%08lx\nrsi=%08lx rdi=%08lx rbp=%08lx rsp=%08lx rip=%08lx\n",$rax,$rbx,$rcx,$rdx,$rsi,$rdi,$rbp,$rsp,$rip) end define si stepi regs -x/1i $eip +x/1i $rip end define ni nexti regs -x/1i $eip +x/1i $rip end b errmsg # r -s test/tmp7.c