annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
c5c4771a6be2 working on intel64 (Lion)
kono
parents: 8
diff changeset
1 tb main
6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
2 define regs
12
c5c4771a6be2 working on intel64 (Lion)
kono
parents: 8
diff changeset
3 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)
6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
4 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
5 define si
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
6 stepi
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
7 regs
12
c5c4771a6be2 working on intel64 (Lion)
kono
parents: 8
diff changeset
8 x/1i $pc
6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
9 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
10 define ni
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
11 nexti
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
12 regs
12
c5c4771a6be2 working on intel64 (Lion)
kono
parents: 8
diff changeset
13 x/1i $pc
6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
14 end
12
c5c4771a6be2 working on intel64 (Lion)
kono
parents: 8
diff changeset
15