Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Breakpoint 4, main () at float3.c:53
- 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e36 <main+406>: movss -0x83c(%ebp),%xmm0
- (gdb) si
- 0x00001e3e 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e3e <main+414>: movsd -0x848(%ebp),%xmm1
- (gdb)
- 0x00001e46 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e46 <main+422>: fldt -0x858(%ebp)
- (gdb)
- 0x00001e4c 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e4c <main+428>: mov %esp,%ecx
- (gdb)
- 0x00001e4e 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e4e <main+430>: fstpt 0xc(%ecx)
- (gdb)
- 0x00001e51 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e51 <main+433>: movsd %xmm1,0x4(%ecx)
- (gdb)
- 0x00001e56 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e56 <main+438>: movss %xmm0,(%ecx)
- (gdb)
- 0x00001e5a 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e5a <main+442>: mov %eax,-0x884(%ebp)
- (gdb)
- 0x00001e60 53 printf ("%g\n", floating_1(f, d, ld));
- 1: x/i $pc 0x1e60 <main+448>: call 0x1ed0 <floating_1>
- (gdb)
- floating_1 (a=-1.99984455, b=1.8481179398336724e-314, c=8.7988781197048543888877540766923926e-4942) at float3.c:15
- 15 {
- 1: x/i $pc 0x1ed0 <floating_1>: push %ebp
- (gdb)
- 0x00001ed1 15 {
- 1: x/i $pc 0x1ed1 <floating_1+1>: mov %esp,%ebp
- (gdb)
- 0x00001ed3 15 {
- 1: x/i $pc 0x1ed3 <floating_1+3>: sub $0x38,%esp
- (gdb)
- 0x00001ed6 15 {
- 1: x/i $pc 0x1ed6 <floating_1+6>: fldt 0x14(%ebp)
- (gdb)
- 0x00001ed9 15 {
- 1: x/i $pc 0x1ed9 <floating_1+9>: movsd 0xc(%ebp),%xmm0
- (gdb)
- 0x00001ede 15 {
- 1: x/i $pc 0x1ede <floating_1+14>: movss 0x8(%ebp),%xmm1
- (gdb)
- 0x00001ee3 15 {
- 1: x/i $pc 0x1ee3 <floating_1+19>: movss %xmm1,-0x4(%ebp)
- (gdb)
- 0x00001ee8 15 {
- 1: x/i $pc 0x1ee8 <floating_1+24>: movsd %xmm0,-0x10(%ebp)
- (gdb)
- 0x00001eed 15 {
- 1: x/i $pc 0x1eed <floating_1+29>: fld %st(0)
- (gdb)
- 0x00001eef 15 {
- 1: x/i $pc 0x1eef <floating_1+31>: fstpt -0x28(%ebp)
- (gdb)
- Breakpoint 2, floating_1 (a=3.14159012, b=0.33333333333333331, c=2.7182818284599999999074509959839929) at float3.c:16
- 16 return (double) a + b + (double) c;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement