Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 525,931 2-environment-cd D:/Eclipse_GCC_ARM_wks/MK40_1_ETV_TD
- 525,956 2^done
- 525,956 (gdb)
- 526,055 3-gdb-set breakpoint pending on
- 526,111 3^done
- 526,111 (gdb)
- 526,117 4-enable-pretty-printing
- 526,135 4^done
- 526,135 (gdb)
- 526,137 5-gdb-set python print-stack none
- 526,138 5^done
- 526,138 (gdb)
- 526,141 6-gdb-set print object on
- 526,141 6^done
- 526,141 (gdb)
- 526,143 7-gdb-set print sevenbit-strings on
- 526,144 7^done
- 526,144 (gdb)
- 526,148 8-gdb-set charset ISO-8859-1
- 526,151 8^done
- 526,151 (gdb)
- 526,157 9source .gdbinit
- 526,163 &"source .gdbinit\n"
- 526,184 &".gdbinit: No such file or directory.\n"
- 526,184 9^error,msg=".gdbinit: No such file or directory."
- 526,184 (gdb)
- 526,190 10-gdb-set auto-solib-add on
- 526,194 10^done
- 526,194 (gdb)
- 526,219 11-target-select remote localhost:3333
- 526,281 12-list-thread-groups
- 526,347 =thread-group-started,id="i1",pid="42000"
- 526,347 =thread-created,id="1",group-id="i1"
- 526,366 13-list-thread-groups --available
- 526,380 *stopped,frame={addr="0x00000000",func="??",args=[]},thread-id="1",stopped-threads="all"
- 526,381 11^connected
- 526,381 (gdb)
- 526,383 12^done,groups=[{id="i1",type="process",pid="42000"}]
- 526,387 (gdb)
- 526,392 13^error,msg="Can not fetch data now."
- 526,393 (gdb)
- 527,823 14monitor reset init
- 527,824 15monitor halt
- 527,824 16monitor arm semihosting enable
- 527,824 17symbol-file D:\\Eclipse_GCC_ARM_wks\\MK40_1_ETV_TD\\Debug\\MK40_1_ETV_TD.elf
- 527,826 &"monitor reset init\n"
- 527,839 @"JTAG tap: niiet.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n"
- 527,840 18-list-thread-groups i1
- 527,854 @"Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals \
- or configure hardware srst support.\n"
- 528,066 @"target state: halted\n"
- 528,074 @"target halted due to debug-request, current mode: Thread \n"
- 528,077 @"xPSR: 0x01000000 pc: 0x0000c1c0 msp: 0x2002fffc\n"
- 528,085 14^done
- 528,086 (gdb)
- 528,091 &"monitor halt\n"
- 528,105 15^done
- 528,106 (gdb)
- 528,109 &"monitor arm semihosting enable\n"
- 528,117 @"semihosting is enabled\n"
- 528,122 16^done
- 528,122 (gdb)
- 528,125 &"symbol-file D:\\\\Eclipse_GCC_ARM_wks\\\\MK40_1_ETV_TD\\\\Debug\\\\MK40_1_ETV_TD.elf\n"
- 528,127 ~"Reading symbols from D:\\Eclipse_GCC_ARM_wks\\MK40_1_ETV_TD\\Debug\\MK40_1_ETV_TD.elf..."
- 528,205 ~"done.\n"
- 528,231 17^done
- 528,231 (gdb)
- 528,244 18^done,threads=[{id="1",target-id="Remote target",frame={level="0",addr="0x00000000",func="\
- ??",args=[]},state="stopped"}]
- 528,282 (gdb)
- 528,285 19-gdb-show --thread-group i1 language
- 528,290 20-stack-info-depth --thread 1 11
- 528,295 19^done,value="auto"
- 528,295 (gdb)
- 528,297 21-gdb-set --thread-group i1 language c
- 528,300 20^done,depth="2"
- 528,300 (gdb)
- 528,300 21^done
- 528,300 (gdb)
- 528,305 22-interpreter-exec --thread-group i1 console "p/x (char)-1"
- 528,361 ~"$1 = 0xff\n"
- 528,361 22^done
- 528,362 (gdb)
- 528,382 23-data-evaluate-expression --thread-group i1 "sizeof (void*)"
- 528,391 23^done,value="4"
- 528,392 (gdb)
- 528,393 24-gdb-set --thread-group i1 language auto
- 528,395 24^done
- 528,395 (gdb)
- 528,398 25-interpreter-exec --thread-group i1 console "show endian"
- 528,399 ~"The target endianness is set automatically (currently little endian)\n"
- 528,400 25^done
- 528,400 (gdb)
- 528,567 26-break-insert --thread-group i1 -f D:\\Eclipse_GCC_ARM_wks\\MK40.1test\\src\\Clk_manager.c\
- :135
- 528,567 27-break-insert --thread-group i1 -f D:\\Eclipse_GCC_ARM_wks\\MK40.1test\\src\\Clk_manager.c\
- :133
- 528,567 28-break-insert --thread-group i1 -f D:\\Eclipse_GCC_ARM_wks\\MK40.1test\\src\\Clk_manager.c\
- :128
- 528,567 29-break-insert --thread-group i1 -t -f D:\\Eclipse_GCC_ARM_wks\\asd\\main.c:main
- 528,567 30-break-insert --thread-group i1 -f D:\\Eclipse_GCC_ARM_wks\\asd\\main.c:46
- 528,623 &"No source file named D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c.\n"
- 528,623 26^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending=\
- "D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:135",times="0",original-location="D\
- :\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:135"}
- 528,625 (gdb)
- 528,625 &"No source file named D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c.\n"
- 528,625 27^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending=\
- "D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:133",times="0",original-location="D\
- :\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:133"}
- 528,625 (gdb)
- 528,626 &"No source file named D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c.\n"
- 528,626 28^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending=\
- "D:\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:128",times="0",original-location="D\
- :\\\\Eclipse_GCC_ARM_wks\\\\MK40.1test\\\\src\\\\Clk_manager.c:128"}
- 528,626 (gdb)
- 528,698 &"No source file named D:\\\\Eclipse_GCC_ARM_wks\\\\asd\\\\main.c.\n"
- 528,698 29^done,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="\
- D:\\\\Eclipse_GCC_ARM_wks\\\\asd\\\\main.c:main",times="0",original-location="D:\\\\Eclipse_GCC_ARM_\
- wks\\\\asd\\\\main.c:main"}
- 528,699 (gdb)
- 528,702 &"No source file named D:\\\\Eclipse_GCC_ARM_wks\\\\asd\\\\main.c.\n"
- 528,702 30^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending=\
- "D:\\\\Eclipse_GCC_ARM_wks\\\\asd\\\\main.c:46",times="0",original-location="D:\\\\Eclipse_GCC_ARM_w\
- ks\\\\asd\\\\main.c:46"}
- 528,702 (gdb)
- 528,823 31monitor reset halt
- 528,823 32monitor halt
- 528,823 33load D:\\Eclipse_GCC_ARM_wks\\MK40_1_ETV_TD\\Debug\\MK40_1_ETV_TD.elf
- 528,823 34tbreak main
- 528,823 35monitor reg
- 528,823 36continue
- 528,831 &"monitor reset halt\n"
- 528,845 @"JTAG tap: niiet.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n"
- 528,861 @"Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals \
- or configure hardware srst support.\n"
- 529,012 @"target state: halted\n"
- 529,013 @"target halted due to debug-request, current mode: Thread \n"
- 529,013 @"xPSR: 0x01000000 pc: 0x0000c1c0 msp: 0x2002fffc, semihosting\n"
- 529,017 31^done
- 529,017 (gdb)
- 529,018 &"monitor halt\n"
- 529,025 32^done
- 529,025 (gdb)
- 529,026 &"load D:\\\\Eclipse_GCC_ARM_wks\\\\MK40_1_ETV_TD\\\\Debug\\\\MK40_1_ETV_TD.elf\n"
- 529,027 ~"Loading section .isr_vector, size 0x250 lma 0x20000000\n"
- 529,029 33+download,{section=".isr_vector",section-size="592",total-size="869527"}
- 529,029 ~"Loading section .fastcode, size 0xe4 lma 0x20000250\n"
- 529,059 33+download,{section=".fastcode",section-size="228",total-size="869527"}
- 529,059 ~"Loading section .text, size 0x16160 lma 0x20000338\n"
- 529,072 33+download,{section=".text",section-size="90464",total-size="869527"}
- 529,520 33+download,{section=".text",section-sent="12288",section-size="90464",total-sent="13108",to\
- tal-size="869527"}
- 530,169 33+download,{section=".text",section-sent="24576",section-size="90464",total-sent="25396",to\
- tal-size="869527"}
- 530,170 37-list-thread-groups
- 530,752 33+download,{section=".text",section-sent="36864",section-size="90464",total-sent="37684",to\
- tal-size="869527"}
- 530,753 38-thread-info 1
- 531,337 33+download,{section=".text",section-sent="49152",section-size="90464",total-sent="49972",to\
- tal-size="869527"}
- 531,920 33+download,{section=".text",section-sent="61440",section-size="90464",total-sent="62260",to\
- tal-size="869527"}
- 532,503 33+download,{section=".text",section-sent="73728",section-size="90464",total-sent="74548",to\
- tal-size="869527"}
- 533,086 33+download,{section=".text",section-sent="86016",section-size="90464",total-sent="86836",to\
- tal-size="869527"}
- 533,486 ~"Loading section .data, size 0x2330 lma 0x20016498\n"
- 533,505 33+download,{section=".data",section-size="9008",total-size="869527"}
- 533,700 33+download,{section=".data",section-sent="8192",section-size="9008",total-sent="99476",tota\
- l-size="869527"}
- 533,894 ~"Start address 0x20011558, load size 100292\n"
- 533,943 ~"Transfer rate: 20 KB/sec, 3581 bytes/write.\n"
- 533,943 33^done
- 533,943 (gdb)
- 533,944 &"tbreak main\n"
- 533,955 ~"Temporary breakpoint 6 at 0x2001069e: file ../vsrc/main.c, line 137.\n"
- 533,955 =breakpoint-created,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="0x200106\
- 9e",func="main",file="../vsrc/main.c",fullname="d:\\\\eclipse_gcc_arm_wks\\\\mk40_1_etv_td\\\\vsrc\\\
- \\main.c",line="137",thread-groups=["i1"],times="0",original-location="main"}
- 533,955 34^done
- 533,955 (gdb)
- 533,958 &"monitor reg\n"
- 534,003 @"===== arm v7m registers\n"
- 534,003 @"(0) r0 (/32): 0x00000000\n"
- 534,005 @"(1) r1 (/32): 0x00000000\n"
- 534,005 @"(2) r2 (/32): 0x00000000\n"
- 534,005 @"(3) r3 (/32): 0x00000000\n"
- 534,005 @"(4) r4 (/32): 0x00000000\n"
- 534,005 @"(5) r5 (/32): 0x00000000\n"
- 534,005 @"(6) r6 (/32): 0x00000000\n"
- 534,005 @"(7) r7 (/32): 0x00000000\n"
- 534,005 @"(8) r8 (/32): 0x00000000\n"
- 534,005 @"(9) r9 (/32): 0x00000000\n"
- 534,005 @"(10) r10 (/32): 0x00000000\n"
- 534,005 @"(11) r11 (/32): 0x00000000\n"
- 534,005 @"(12) r12 (/32): 0x00000000\n"
- 534,005 @"(13) sp (/32): 0x2002FFFC\n"
- 534,005 @"(14) lr (/32): 0xFFFFFFFF\n"
- 534,005 @"(15) pc (/32): 0x20011558 (dirty)\n"
- 534,005 @"(16) xPSR (/32): 0x01000000 (dirty)\n"
- 534,006 @"(17) msp (/32): 0x2002FFFC\n"
- 534,025 @"(18) psp (/32): 0x00000000\n"
- 534,025 @"(19) primask (/1): 0x00\n"
- 534,025 @"(20) basepri (/8): 0x00\n"
- 534,025 @"(21) faultmask (/1): 0x00\n"
- 534,025 @"(22) control (/2): 0x00\n"
- 534,028 @"===== Cortex-M DWT registers\n"
- 534,028 @"(23) dwt_ctrl (/32)\n"
- 534,028 @"(24) dwt_cyccnt (/32)\n"
- 534,028 @"(25) dwt_0_comp (/32)\n"
- 534,028 @"(26) dwt_0_mask (/4)\n"
- 534,028 @"(27) dwt_0_function (/32)\n"
- 534,028 @"(28) dwt_1_comp (/32)\n"
- 534,028 @"(29) dwt_1_mask (/4)\n"
- 534,028 @"(30) dwt_1_function (/32)\n"
- 534,028 @"(31) dwt_2_comp (/32)\n"
- 534,029 @"(32) dwt_2_mask (/4)\n"
- 534,029 @"(33) dwt_2_function (/32)\n"
- 534,029 @"(34) dwt_3_comp (/32)\n"
- 534,029 @"(35) dwt_3_mask (/4)\n"
- 534,029 @"(36) dwt_3_function (/32)\n"
- 534,040 35^done
- 534,040 (gdb)
- 534,041 &"continue\n"
- 534,041 ~"Continuing.\n"
- 534,051 36^running
- 534,051 *running,thread-id="all"
- 534,051 (gdb)
- 534,483 =breakpoint-modified,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="0x20010\
- 69e",func="main",file="../vsrc/main.c",fullname="d:\\\\eclipse_gcc_arm_wks\\\\mk40_1_etv_td\\\\vsrc\\
- \\\main.c",line="137",thread-groups=["i1"],times="1",original-location="main"}
- 534,492 ~"\nTemporary breakpoint "
- 534,497 ~"6, main () at ../vsrc/main.c:137\n"
- 534,498 ~"137\t\tInitCLK();\n"
- 534,498 *stopped,reason="breakpoint-hit",disp="del",bkptno="6",frame={addr="0x2001069e",func="main",\
- args=[],file="../vsrc/main.c",fullname="d:\\eclipse_gcc_arm_wks\\mk40_1_etv_td\\vsrc\\main.c",line="\
- 137"},thread-id="1",stopped-threads="all"
- 534,504 =breakpoint-deleted,id="6"
- 534,511 (gdb)
- 534,514 37^done,groups=[{id="i1",type="process",pid="42000"}]
- 534,515 (gdb)
- 534,532 38^done,threads=[{id="1",target-id="Remote target",frame={level="0",addr="0x2001069e",func="\
- main",args=[],file="../vsrc/main.c",fullname="d:\\eclipse_gcc_arm_wks\\mk40_1_etv_td\\vsrc\\main.c",\
- line="137"},state="stopped"}]
- 534,533 (gdb)
- 534,559 39-break-delete --thread-group i1 4
- 534,562 40-stack-info-depth --thread 1 11
- 534,567 39^done
- 534,567 (gdb)
- 534,573 40^done,depth="1"
- 534,573 (gdb)
Advertisement
Add Comment
Please, Sign In to add comment