annotate .gdbinit @ 46:b1c8ac8c308d

fix cascading struct retrun. Now it should be compatible with gcc calling sequence.
author kono
date Sat, 15 Feb 2003 17:54:30 +0900
parents c63c4fdeb9a7
children 884c74e6a2f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
1 tb main
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
2 define regs
33
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
3 call fprintf(stderr,"eax=%08x ebx=%08x ecx=%08x edx=%08x\nesi=%08x edi=%08x ebp=%08x esp=%08x eip=%08x\n",$eax,$ebx,$ecx,$edx,$esi,$edi,$ebp,$esp,$eip)
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
4 end
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
5 define si
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
6 stepi
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
7 regs
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
8 x/1i $eip
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
9 end
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
10 define ni
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
11 nexti
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
12 x/1i $eip
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
13 end
39
c63c4fdeb9a7 struct done.
kono
parents: 38
diff changeset
14 b error
c63c4fdeb9a7 struct done.
kono
parents: 38
diff changeset
15 b errmsg
37
412ad2e6c2a2 struct copy
kono
parents: 34
diff changeset
16 r -s test/tmp7.c