SHARE
TWEET

Untitled

a guest Feb 16th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (gdb) file gcd
  2. Reading symbols from gcd...done.
  3. (gdb) start
  4. Temporary breakpoint 1 at 0x10438: file gcd.s, line 19.
  5. Starting program: /home/pi/gcd
  6.  
  7. Temporary breakpoint 1, main () at gcd.s:19
  8. 19      push {fp, lr}
  9. (gdb) step
  10. 21      add fp, sp, #4
  11. (gdb) step
  12. 24      sub sp, sp, #20
  13. (gdb) step
  14. 26      ldr r0, =prompt1
  15. (gdb) step
  16. 27      bl printf
  17. (gdb) step
  18. __printf (format=0x21048 "Largest number:\n") at printf.c:33
  19. 33  printf.c: No such file or directory.
  20. (gdb) step
  21. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  22.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  23.     at vfprintf.c:1278
  24. 1278    vfprintf.c: No such file or directory.
  25. (gdb) step
  26. 1282    in vfprintf.c
  27. (gdb) step
  28. 1293    in vfprintf.c
  29. (gdb) step
  30. 1315    in vfprintf.c
  31. (gdb) step
  32. __find_specmb (format=<optimized out>) at vfprintf.c:1304
  33. 1304    in vfprintf.c
  34. (gdb) step
  35. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  36.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  37.     at vfprintf.c:1315
  38. 1315    in vfprintf.c
  39. (gdb)
  40. __find_specmb (format=0x21048 "Largest number:\n") at printf-parse.h:108
  41. 108 printf-parse.h: No such file or directory.
  42. (gdb)
  43. __strchrnul (s=s@entry=0x21048 "Largest number:\n", c_in=c_in@entry=37)
  44.     at strchrnul.c:43
  45. 43  strchrnul.c: No such file or directory.
  46. (gdb)
  47. 47  in strchrnul.c
  48. (gdb)
  49. 71  in strchrnul.c
  50. (gdb)
  51. 72  in strchrnul.c
  52. (gdb)
  53. 76  in strchrnul.c
  54. (gdb)
  55. 146 in strchrnul.c
  56. (gdb)
  57. 121 in strchrnul.c
  58. (gdb)
  59. 146 in strchrnul.c
  60. (gdb)
  61. 121 in strchrnul.c
  62. (gdb)
  63. 146 in strchrnul.c
  64. (gdb)
  65. 121 in strchrnul.c
  66. (gdb)
  67. 146 in strchrnul.c
  68. (gdb)
  69. 121 in strchrnul.c
  70. (gdb)
  71. 146 in strchrnul.c
  72. (gdb)
  73. 121 in strchrnul.c
  74. (gdb)
  75.  
  76. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  77.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  78.     at vfprintf.c:1319
  79. 1319    vfprintf.c: No such file or directory.
  80. (gdb)
  81.  
  82. 1320    in vfprintf.c
  83. (gdb)
  84.  
  85. __aeabi_read_tp () at ../sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S:52
  86. 52  ../sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: No such file or directory.
  87. (gdb)
  88. 53  in ../sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S
  89. (gdb)
  90.  
  91. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  92.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  93.     at vfprintf.c:1323
  94. 1323    vfprintf.c: No such file or directory.
  95. (gdb)
  96.  
  97. IO_validate_vtable (vtable=<optimized out>) at vfprintf.c:1323
  98. 1323    in vfprintf.c
  99. (gdb)
  100. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  101.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  102.  
  103.     at vfprintf.c:1323
  104. 1323    in vfprintf.c
  105. (gdb)
  106. IO_validate_vtable (vtable=0xb6fb5b1c <_IO_file_jumps>)
  107.     at ../libio/libioP.h:832
  108. 832 ../libio/libioP.h: No such file or directory.
  109. (gdb)
  110. 835 in ../libio/libioP.h
  111. (gdb)
  112. _IO_vfprintf_internal (s=0xb6fb7d90 <_IO_2_1_stdout_>,
  113.     format=0x21048 "Largest number:\n", format@entry=0x0, ap=..., ap@entry=...)
  114.     at ../libio/libioP.h:839
  115. 839 in ../libio/libioP.h
  116. (gdb)
  117.  
  118.  
  119. _IO_new_file_xsputn (f=0xb6fb7d90 <_IO_2_1_stdout_>, data=0x21048, n=16)
  120.     at fileops.c:1206
  121. 1206    fileops.c: No such file or directory.
  122. (gdb)
  123. 1211    in fileops.c
  124. (gdb)
  125.  
  126. _IO_new_file_xsputn (n=16, data=0x21048, f=0xb6fb7d90 <_IO_2_1_stdout_>)
  127.     at fileops.c:1218
  128. 1218    in fileops.c
  129. (gdb)
  130.  
  131. 1235    in fileops.c
  132. (gdb)
  133. 1251    in fileops.c
  134. (gdb)
  135. IO_validate_vtable (vtable=<optimized out>) at fileops.c:1251
  136. 1251    in fileops.c
  137. (gdb)
  138. _IO_new_file_xsputn (n=16, data=<optimized out>,
  139.     f=0xb6fb7d90 <_IO_2_1_stdout_>) at fileops.c:1251
  140. 1251    in fileops.c
  141. (gdb)
  142. IO_validate_vtable (vtable=0xb6fb5b1c <_IO_file_jumps>) at libioP.h:835
  143. 835 libioP.h: No such file or directory.
  144. (gdb)
  145. _IO_new_file_xsputn (n=16, data=<optimized out>,
  146.     f=0xb6fb7d90 <_IO_2_1_stdout_>) at libioP.h:839
  147. 839 in libioP.h
  148. (gdb)
  149. _IO_new_file_overflow (f=0xb6fb7d90 <_IO_2_1_stdout_>, ch=-1) at fileops.c:740
  150. 740 fileops.c: No such file or directory.
  151. (gdb)
  152. 747 in fileops.c
  153. (gdb)
  154. 750 in fileops.c
  155. (gdb)
  156. 752 in fileops.c
  157. (gdb)
  158.  
  159. __GI__IO_doallocbuf (fp=fp@entry=0xb6fb7d90 <_IO_2_1_stdout_>) at genops.c:344
  160. 344 genops.c: No such file or directory.
  161.  
  162. (gdb)
  163. 346 in genops.c
  164. (gdb)
  165.  
  166. 347 in genops.c
  167. (gdb)
  168. IO_validate_vtable (vtable=<optimized out>) at genops.c:347
  169. 347 in genops.c
  170. (gdb)
  171. __GI__IO_doallocbuf (fp=fp@entry=0xb6fb7d90 <_IO_2_1_stdout_>) at genops.c:347
  172. 347 in genops.c
  173. (gdb)
  174. IO_validate_vtable (vtable=0xb6fb5b1c <_IO_file_jumps>) at libioP.h:835
  175. 835 libioP.h: No such file or directory.
  176. (gdb)
  177. __GI__IO_doallocbuf (fp=fp@entry=0xb6fb7d90 <_IO_2_1_stdout_>) at libioP.h:839
  178. 839 in libioP.h
  179. (gdb)
  180.  
  181. __GI__IO_file_doallocate (fp=0xb6fb7d90 <_IO_2_1_stdout_>) at filedoalloc.c:84
  182. 84  filedoalloc.c: No such file or directory.
  183. (gdb)
  184. IO_validate_vtable (vtable=0xb6fb5b1c <_IO_file_jumps>) at libioP.h:835
  185. 835 libioP.h: No such file or directory.
  186.  
  187. (gdb)
  188. __GI__IO_file_doallocate (fp=0xb6fb7d90 <_IO_2_1_stdout_>) at libioP.h:839
  189. 839 in libioP.h
  190. (gdb)
  191. __GI__IO_file_stat (fp=0xb6fb7d90 <_IO_2_1_stdout_>, st=0xbeffefbc)
  192.     at fileops.c:1155
  193. 1155    fileops.c: No such file or directory.
  194. (gdb)
  195. ___fxstat64 (vers=3, fd=1, buf=0xbeffefbc)
  196.     at ../sysdeps/unix/sysv/linux/fxstat64.c:35
  197. 35  ../sysdeps/unix/sysv/linux/fxstat64.c: No such file or directory.
  198. (gdb)
  199.  
  200. __GI__IO_file_doallocate (fp=0xb6fb7d90 <_IO_2_1_stdout_>) at filedoalloc.c:86
  201. 86  filedoalloc.c: No such file or directory.
  202. (gdb)
  203. 91  in filedoalloc.c
  204. (gdb)
  205. __gnu_dev_major (__dev=34816) at ../include/sys/sysmacros.h:47
  206. 47  ../include/sys/sysmacros.h: No such file or directory.
  207. (gdb)
  208. 91  filedoalloc.c: No such file or directory.
  209. (gdb)
  210. __GI__IO_file_doallocate (fp=0xb6fb7d90 <_IO_2_1_stdout_>) at filedoalloc.c:94
  211. 94  in filedoalloc.c
  212. (gdb)
  213. 97  in filedoalloc.c
  214. (gdb)
  215. 101 in filedoalloc.c
  216. (gdb)
  217.  
  218.  
  219.  
  220.  
  221.  
  222. __GI___libc_malloc (bytes=1024) at malloc.c:3025
  223. 3025   
  224. malloc.c: No such file or directory.
  225. (gdb)
  226. 3026    in malloc.c
  227. (gdb)
  228.  
  229. 3027    in malloc.c
  230. (gdb)
  231. malloc_hook_ini (sz=1024, caller=0xb6ec8b14 <__GI__IO_file_doallocate+152>)
  232.     at hooks.c:30
  233. 30 
  234. hooks.c: No such file or directory.
  235. (gdb)
  236. 31  in hooks.c
  237. (gdb)
  238.  
  239. ptmalloc_init () at arena.c:291
  240. 291 arena.c: No such file or directory.
  241. (gdb)
  242. 294 in arena.c
  243. (gdb)
  244.  
  245. 302 in arena.c
  246. (gdb)
  247.  
  248. __GI__dl_addr (address=0xb6edb874 <ptmalloc_init>, info=0xbeffef90,
  249.  
  250.     info@entry=0xbeffef88, mapp=0xbeffef88, mapp@entry=0xbeffef80, symbolp=0x0)
  251.     at dl-addr.c:132
  252. 132 dl-addr.c: No such file or directory.
  253. (gdb)
  254.  
  255.  
  256.  
  257. 134 in dl-addr.c
  258. (gdb)
  259.  
  260.  
  261.  
  262.  
  263.  
  264. 136 in dl-addr.c
  265. (gdb)
  266. 138 in dl-addr.c
  267. (gdb)
  268. determine_info (symbolp=0xb6f81430 <__GI__dl_addr+64>, mapp=0xbeffef88,
  269.     info=0xbeffef90, match=0xb6ffa300, addr=3069032564) at dl-addr.c:138
  270.  
  271. 138 in dl-addr.c
  272. (gdb)
  273. 31  in dl-addr.c
  274. (gdb)
  275. 34  in dl-addr.c
  276.  
  277. (gdb)
  278. 38  in dl-addr.c
  279. (gdb)
  280.  
  281. 40  in dl-addr.c
  282. (gdb)
  283. 42  in dl-addr.c
  284. (gdb)
  285. 45  in dl-addr.c
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top