view .gdbinit @ 16:5b631c16f89b

llvm output
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 02 Nov 2012 14:04:35 +0900
parents c5c4771a6be2
children
line wrap: on
line source

tb main
define regs 
call (void)printf("rax=%16lx rbx=%16lx\nrcx=%16lx rdx=%16lx\nrsi=%16lx rdi=%16lx rbp=%16lx \nrsp=%16lx pc=%08lx\n",$rax,$rbx,$rcx,$rdx,$rsi,$rdi,$rbp,$rsp,$pc)
end
define si
stepi
regs
x/1i $pc
end
define ni
nexti
regs
x/1i $pc
end