view .gdbinit @ 761:684dcbd0e170

i64 basic
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 17 Nov 2010 12:16:08 +0900
parents a38f18a08b30
children c14a1426cfed
line wrap: on
line source

tb main
define regs 
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 $rip
end
define ni
nexti
regs
x/1i $rip
end
b errmsg
# r -s test/tmp7.c
# r -s test/tmp6.c
# r -s test/call.c
# r -s test/static.c
# r -s test/tmpa.c
# r -s test/code-gen-all.c
# r -s mc-code-powerpc.c
# r -s test/macro.c
r -s test/basic.c
# r -s test/strinit.c
# r -s test/arg.c
# r -s -DINLINE=inline test/strinit.c
# r -s test/fact-a.c