Guest User

gdb-traces

a guest
Jun 23rd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.37 KB | None | 0 0
  1. 471,856 2-gdb-show language
  2. 471,856 3-list-thread-groups
  3. 471,856 2^done,value="auto"
  4. 471,857 (gdb)
  5. 471,857 3^done,groups=[{id="i1",type="process"}]
  6. 471,857 (gdb)
  7. 471,857 4-data-evaluate-expression "sizeof (void*)"
  8. 471,858 4^done,value="4"
  9. 471,858 (gdb)
  10. 471,858 5-gdb-set language auto
  11. 471,858 5^done
  12. 471,858 (gdb)
  13. 471,859 6-interpreter-exec console "show endian"
  14. 471,859 ~"The target endianness is set automatically (currently little endian)\n"
  15. 471,859 6^done
  16. 471,859 (gdb)
  17. 471,861 7-gdb-version
  18. 471,861 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs\n"
  19. 471,861 ~"Copyright (C) 2013 Free Software Foundation, Inc.\n"
  20. 471,862 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
  21. e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
  22. ed by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
  23. 471,862 ~"This GDB was configured as \"--host=i686-linux-gnu --target=arm-none-eabi\".\nFor bug repo\
  24. rting instructions, please see:\n"
  25. 471,862 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
  26. 471,862 7^done
  27. 471,862 (gdb)
  28. 471,863 8-environment-cd /home/bluetiger/dev/Kinetis/CppTest222
  29. 471,863 8^done
  30. 471,863 (gdb)
  31. 471,864 9-gdb-set breakpoint pending on
  32. 471,864 9^done
  33. 471,864 (gdb)
  34. 471,864 10-enable-pretty-printing
  35. 471,864 10^done
  36. 471,864 (gdb)
  37. 471,865 11-gdb-set python print-stack none
  38. 471,865 11^done
  39. 471,865 (gdb)
  40. 471,865 12-gdb-set print object on
  41. 471,865 12^done
  42. 471,865 (gdb)
  43. 471,866 13-gdb-set print sevenbit-strings on
  44. 471,866 13^done
  45. 471,866 (gdb)
  46. 471,866 14-gdb-set charset ISO-8859-1
  47. 471,867 14^done
  48. 471,867 (gdb)
  49. 471,867 15source .gdbinit
  50. 471,867 &"source .gdbinit\n"
  51. 471,867 &".gdbinit: No such file or directory.\n"
  52. 471,867 15^error,msg=".gdbinit: No such file or directory."
  53. 471,868 (gdb)
  54. 471,868 16set mem inaccessible-by-default off
  55. 471,868 &"set mem inaccessible-by-default off\n"
  56. 471,868 =cmd-param-changed,param="mem inaccessible-by-default",value="off"
  57. 471,868 16^done
  58. 471,868 (gdb)
  59. 471,869 17-gdb-set auto-solib-add on
  60. 471,869 17^done
  61. 471,869 (gdb)
  62. 471,869 18-target-select remote localhost:2331
  63. 471,871 =thread-group-started,id="i1",pid="42000"
  64. 471,871 =thread-created,id="1",group-id="i1"
  65. 471,871 19-list-thread-groups --available
  66. 471,883 *stopped,frame={addr="0x00000000",func="??",args=[]},thread-id="1",stopped-threads="all"
  67. 471,884 18^connected
  68. 471,884 (gdb)
  69. 471,884 19^error,msg="Can not fetch data now."
  70. 471,884 (gdb)
  71. 471,895 20monitor speed 30
  72. 471,895 21monitor clrbp
  73. 471,895 22monitor reset
  74. 471,895 &"monitor speed 30\n"
  75. 471,895 23monitor halt
  76. 471,895 24monitor regs
  77. 471,895 25flushreg
  78. 471,895 26monitor speed auto
  79. 471,895 27monitor flash breakpoints 1
  80. 471,896 28monitor semihosting enable
  81. 471,896 @"Target interface speed set to 30 kHz\r\n"
  82. 471,896 29monitor semihosting IOClient 0
  83. 471,896 20^done
  84. 471,896 (gdb)
  85. 471,896 30monitor SWO DisableTarget 0xFFFFFFFF
  86. 471,896 &"monitor clrbp\n"
  87. 471,896 31monitor SWO EnableTarget 0 0 0x1 0
  88. 471,896 32symbol-file /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf
  89. 471,896 21^done
  90. 471,896 (gdb)
  91. 471,896 33load /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf
  92. 471,896 &"monitor reset\n"
  93. 472,490 @"Resetting target\r\n"
  94. 472,491 22^done
  95. 472,491 (gdb)
  96. 472,491 &"monitor halt\n"
  97. 472,491 23^done
  98. 472,491 (gdb)
  99. 472,491 &"monitor regs\n"
  100. 472,492 34-list-thread-groups
  101. 472,492 @"R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000\n"
  102. 472,492 @"R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000\n"
  103. 472,492 @"R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000\n"
  104. 472,492 @"R12= 00000000, R13= 20030000, MSP= 20030000, PSP= 00000000\n"
  105. 472,492 @"R14(LR) = FFFFFFFF, R15(PC) = 000004D8\n"
  106. 472,492 @"XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000\n"
  107. 472,492 @"CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00\r\n"
  108. 472,492 24^done
  109. 472,492 (gdb)
  110. 472,492 &"flushreg\n"
  111. 472,493 ~"Register cache flushed.\n"
  112. 472,793 25^done
  113. 472,793 (gdb)
  114. 472,795 &"monitor speed auto\n"
  115. 472,795 @"Select auto target interface speed (1429 kHz)\r\n"
  116. 472,795 26^done
  117. 472,795 (gdb)
  118. 472,795 &"monitor flash breakpoints 1\n"
  119. 472,795 @"Flash breakpoints enabled\r\n"
  120. 472,796 27^done
  121. 472,796 (gdb)
  122. 472,796 &"monitor semihosting enable\n"
  123. 472,796 @"Semi-hosting enabled (Handle on BKPT)\r\n"
  124. 472,796 28^done
  125. 472,796 (gdb)
  126. 472,796 &"monitor semihosting IOClient 0\n"
  127. 472,797 @"Wrong client mask. Semihosting I/O not changed.\r\n"
  128. 472,797 29^done
  129. 472,797 (gdb)
  130. 472,797 &"monitor SWO DisableTarget 0xFFFFFFFF\n"
  131. 472,797 @"Failed to disable SWO.\r\n"
  132. 472,797 30^done
  133. 472,797 (gdb)
  134. 472,797 &"monitor SWO EnableTarget 0 0 0x1 0\n"
  135. 472,842 @"Failed to enable SWO. Could not determine a suitable SWO speed!\r\n"
  136. 472,842 31^done
  137. 472,842 (gdb)
  138. 472,842 &"symbol-file /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf\n"
  139. 472,843 ~"Reading symbols from /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf..."
  140. 472,849 ~"done.\n"
  141. 472,850 32^done
  142. 472,850 (gdb)
  143. 472,850 &"load /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf\n"
  144. 472,850 ~"Loading section .flash_config, size 0x10 lma 0x400\n"
  145. 472,851 33+download,{section=".flash_config",section-size="16",total-size="1000870"}
  146. 472,851 33+download,{section=".flash_config",section-sent="16",section-size="16",total-sent="16",tot\
  147. al-size="1000870"}
  148. 472,851 ~"Loading section .interrupts, size 0x3c0 lma 0x1fff0000\n"
  149. 473,034 33+download,{section=".interrupts",section-size="960",total-size="1000870"}
  150. 473,035 ~"Loading section .text, size 0x5960 lma 0x20000000\n"
  151. 473,392 33+download,{section=".text",section-size="22880",total-size="1000870"}
  152. 473,393 33+download,{section=".text",section-sent="16176",section-size="22880",total-sent="17152",to\
  153. tal-size="1000870"}
  154. 473,543 ~"Loading section .ARM.extab, size 0x30 lma 0x20005960\n"
  155. 473,546 33+download,{section=".ARM.extab",section-size="48",total-size="1000870"}
  156. 473,546 ~"Loading section .ARM, size 0xd8 lma 0x20005990\n"
  157. 473,553 33+download,{section=".ARM",section-size="216",total-size="1000870"}
  158. 473,553 ~"Loading section .init_array, size 0x4 lma 0x20005a68\n"
  159. 473,555 33+download,{section=".init_array",section-size="4",total-size="1000870"}
  160. 473,555 ~"Loading section .fini_array, size 0x4 lma 0x20005a6c\n"
  161. 473,557 33+download,{section=".fini_array",section-size="4",total-size="1000870"}
  162. 473,557 ~"Loading section .data, size 0x70 lma 0x20005a70\n"
  163. 473,561 33+download,{section=".data",section-size="112",total-size="1000870"}
  164. 473,562 ~"Start address 0x200000c8, load size 24240\n"
  165. 473,562 ~"Transfer rate: 33 KB/sec, 2693 bytes/write.\n"
  166. 473,562 33^done
  167. 473,562 (gdb)
  168. 473,564 34^done,groups=[{id="i1",type="process",pid="42000"}]
  169. 473,564 (gdb)
  170. 473,565 35-gdb-show --thread-group i1 language
  171. 473,565 35^done,value="auto"
  172. 473,565 (gdb)
  173. 473,566 36-gdb-set --thread-group i1 language c
  174. 473,567 ~"Warning: the current language does not match this frame.\n"
  175. 473,567 36^done
  176. 473,567 (gdb)
  177. 473,568 37-interpreter-exec --thread-group i1 console "p/x (char)-1"
  178. 473,570 38-list-thread-groups i1
  179. 473,644 ~"$1 = 0xff\n"
  180. 473,645 37^done
  181. 473,645 (gdb)
  182. 473,645 38^done,threads=[{id="1",target-id="Thread <main>",frame={level="0",addr="0x200000c8",func="\
  183. Reset_Handler",args=[],file="../startup/startup_MK82F25615.S",fullname="/home/bluetiger/dev/Kinetis/\
  184. CppTest222/startup/startup_MK82F25615.S",line="310"},state="stopped"}]
  185. 473,645 (gdb)
  186. 473,646 39-data-evaluate-expression --thread-group i1 "sizeof (void*)"
  187. 473,646 39^done,value="4"
  188. 473,646 (gdb)
  189. 473,647 40-gdb-set --thread-group i1 language auto
  190. 473,647 40^done
  191. 473,647 (gdb)
  192. 473,648 41-interpreter-exec --thread-group i1 console "show endian"
  193. 473,649 ~"The target endianness is set automatically (currently little endian)\n"
  194. 473,649 41^done
  195. 473,649 (gdb)
  196. 473,651 42monitor clrbp
  197. 473,651 43monitor reset
  198. 473,651 &"monitor clrbp\n"
  199. 473,651 44monitor halt
  200. 473,651 45tbreak main
  201. 473,651 46monitor regs
  202. 473,651 42^done
  203. 473,651 (gdb)
  204. 473,651 &"monitor reset\n"
  205. 473,651 47flushreg
  206. 473,651 48continue
  207. 473,652 49-stack-info-depth --thread 1 11
  208. 473,679 @"Resetting target\r\n"
  209. 473,680 43^done
  210. 473,680 (gdb)
  211. 473,680 &"monitor halt\n"
  212. 473,680 44^done
  213. 473,680 (gdb)
  214. 473,680 &"tbreak main\n"
  215. 473,723 ~"Temporary breakpoint 1 at 0x200029ee: file ../source/main.cpp, line 44.\n"
  216. 473,723 =breakpoint-created,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x200029\
  217. ee",func="main()",file="../source/main.cpp",fullname="/home/bluetiger/dev/Kinetis/CppTest222/source/\
  218. main.cpp",line="44",thread-groups=["i1"],times="0",original-location="main"}
  219. 473,724 45^done
  220. 473,724 (gdb)
  221. 473,724 &"monitor regs\n"
  222. 473,724 @"R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000\n"
  223. 473,724 @"R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000\n"
  224. 473,724 @"R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000\n"
  225. 473,724 @"R12= 00000000, R13= 20030000, MSP= 20030000, PSP= 00000000\n"
  226. 473,724 @"R14(LR) = FFFFFFFF, R15(PC) = 000004D8\n"
  227. 473,724 @"XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000\n"
  228. 473,725 @"CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00\r\n"
  229. 473,725 46^done
  230. 473,725 (gdb)
  231. 473,725 &"flushreg\n"
  232. 473,725 ~"Register cache flushed.\n"
  233. 473,732 47^done
  234. 473,732 (gdb)
  235. 473,733 &"continue\n"
  236. 473,733 ~"Continuing.\n"
  237. 473,733 48^running
  238. 473,733 *running,thread-id="all"
  239. 473,733 (gdb)
Add Comment
Please, Sign In to add comment