Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. Breakpoint 4, main () at float3.c:53
  2. 53 printf ("%g\n", floating_1(f, d, ld));
  3. 1: x/i $pc 0x1e36 <main+406>: movss -0x83c(%ebp),%xmm0
  4. (gdb) si
  5. 0x00001e3e 53 printf ("%g\n", floating_1(f, d, ld));
  6. 1: x/i $pc 0x1e3e <main+414>: movsd -0x848(%ebp),%xmm1
  7. (gdb)
  8. 0x00001e46 53 printf ("%g\n", floating_1(f, d, ld));
  9. 1: x/i $pc 0x1e46 <main+422>: fldt -0x858(%ebp)
  10. (gdb)
  11. 0x00001e4c 53 printf ("%g\n", floating_1(f, d, ld));
  12. 1: x/i $pc 0x1e4c <main+428>: mov %esp,%ecx
  13. (gdb)
  14. 0x00001e4e 53 printf ("%g\n", floating_1(f, d, ld));
  15. 1: x/i $pc 0x1e4e <main+430>: fstpt 0xc(%ecx)
  16. (gdb)
  17. 0x00001e51 53 printf ("%g\n", floating_1(f, d, ld));
  18. 1: x/i $pc 0x1e51 <main+433>: movsd %xmm1,0x4(%ecx)
  19. (gdb)
  20. 0x00001e56 53 printf ("%g\n", floating_1(f, d, ld));
  21. 1: x/i $pc 0x1e56 <main+438>: movss %xmm0,(%ecx)
  22. (gdb)
  23. 0x00001e5a 53 printf ("%g\n", floating_1(f, d, ld));
  24. 1: x/i $pc 0x1e5a <main+442>: mov %eax,-0x884(%ebp)
  25. (gdb)
  26. 0x00001e60 53 printf ("%g\n", floating_1(f, d, ld));
  27. 1: x/i $pc 0x1e60 <main+448>: call 0x1ed0 <floating_1>
  28. (gdb)
  29. floating_1 (a=-1.99984455, b=1.8481179398336724e-314, c=8.7988781197048543888877540766923926e-4942) at float3.c:15
  30. 15 {
  31. 1: x/i $pc 0x1ed0 <floating_1>: push %ebp
  32. (gdb)
  33. 0x00001ed1 15 {
  34. 1: x/i $pc 0x1ed1 <floating_1+1>: mov %esp,%ebp
  35. (gdb)
  36. 0x00001ed3 15 {
  37. 1: x/i $pc 0x1ed3 <floating_1+3>: sub $0x38,%esp
  38. (gdb)
  39. 0x00001ed6 15 {
  40. 1: x/i $pc 0x1ed6 <floating_1+6>: fldt 0x14(%ebp)
  41. (gdb)
  42. 0x00001ed9 15 {
  43. 1: x/i $pc 0x1ed9 <floating_1+9>: movsd 0xc(%ebp),%xmm0
  44. (gdb)
  45. 0x00001ede 15 {
  46. 1: x/i $pc 0x1ede <floating_1+14>: movss 0x8(%ebp),%xmm1
  47. (gdb)
  48. 0x00001ee3 15 {
  49. 1: x/i $pc 0x1ee3 <floating_1+19>: movss %xmm1,-0x4(%ebp)
  50. (gdb)
  51. 0x00001ee8 15 {
  52. 1: x/i $pc 0x1ee8 <floating_1+24>: movsd %xmm0,-0x10(%ebp)
  53. (gdb)
  54. 0x00001eed 15 {
  55. 1: x/i $pc 0x1eed <floating_1+29>: fld %st(0)
  56. (gdb)
  57. 0x00001eef 15 {
  58. 1: x/i $pc 0x1eef <floating_1+31>: fstpt -0x28(%ebp)
  59. (gdb)
  60.  
  61. Breakpoint 2, floating_1 (a=3.14159012, b=0.33333333333333331, c=2.7182818284599999999074509959839929) at float3.c:16
  62. 16 return (double) a + b + (double) c;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement