Code:
Your VisualGDB trial expires in 28 days!
c:\SysGCC\arm-eabi\bin\arm-eabi-gdb.exe --interpreter mi C:\SyncDataC\VisualProjects\nRfBlinkAllSolution\VisualGDB\Debug\nRfBlinkAll
-gdb-version
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.12\n"
~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"--host=i686-pc-mingw32 --target=arm-eabi\".\nType \"show configuration\" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\"...\n"
~"Reading symbols from C:\\SyncDataC\\VisualProjects\\nRfBlinkAllSolution\\VisualGDB\\Debug\\nRfBlinkAll..."
~"done.\n"
~"GNU gdb (GDB) 7.12\n"
~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"--host=i686-pc-mingw32 --target=arm-eabi\".\nType \"show configuration\" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
^done
-list-features
^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option"]
-gdb-set disassembly-flavor intel
^error,msg="No symbol \"disassembly\" in current context."
-gdb-set print demangle off
^done
-break-insert -f main
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0001c16a",func="main()",file="LEDBlink.cpp",fullname="C:\\SyncDataC\\VisualProjects\\nRfBlinkAllSolution\\nRfBlinkAll\\LEDBlink.cpp",line="20",thread-groups=["i1"],times="0",original-location="main"}
set remotetimeout 60
&"set remotetimeout 60\n"
=cmd-param-changed,param="remotetimeout",value="60"
^done
target remote :53092
&"target remote :53092\n"
~"Remote debugging using :53092\n"
=thread-group-started,id="i1",pid="42000"
=thread-created,id="1",group-id="i1"
~"0x000006d0 in ?? ()\n"
*stopped,frame={addr="0x000006d0",func="??",args=[]},thread-id="1",stopped-threads="all"
^done
info shared
&"info shared\n"
~"No shared libraries loaded at this time.\n"
^done
mon reset init
&"mon reset init\n"
@"nrf51.cpu: target state: halted\n"
@"target halted due to debug-request, current mode: Thread \n"
@"xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0\n"
^done
load
&"load\n"
~"Loading section .softdevice, size 0x1b000 lma 0x0\n"
+download,{section=".softdevice",section-size="110592",total-size="208334"}
+download,{section=".softdevice",section-sent="16224",section-size="110592",total-sent="16224",total-size="208334"}
~"Loading section .isr_vector, size 0xc0 lma 0x1b000\n"
+download,{section=".isr_vector",section-size="192",total-size="208334"}
~"Loading section .text, size 0x1290 lma 0x1b0c0\n"
+download,{section=".text",section-size="4752",total-size="208334"}
~"Loading section .init_array, size 0x4 lma 0x1c350\n"
+download,{section=".init_array",section-size="4",total-size="208334"}
~"Loading section .fini_array, size 0x4 lma 0x1c354\n"
+download,{section=".fini_array",section-size="4",total-size="208334"}
~"Loading section .data, size 0x4 lma 0x1c358\n"
+download,{section=".data",section-size="4",total-size="208334"}
~"Start address 0x1c024, load size 115548\n"
~"Transfer rate: 6 KB/sec, 9629 bytes/write.\n"
^done
mon reset init
&"mon reset init\n"
@"nrf51.cpu: target state: halted\n"
@"target halted due to debug-request, current mode: Thread \n"
@"xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0\n"
^done
-data-evaluate-expression "sizeof(void *)"
-data-evaluate-expression "sizeof(int)"
^done,value="4"
^done,value="4"
-data-evaluate-expression "sizeof(short)"
^done,value="2"
-data-evaluate-expression "sizeof(long)"
^done,value="4"
-data-evaluate-expression "sizeof(long long)"
^done,value="8"
-data-evaluate-expression "sizeof(char)"
^done,value="1"
-data-evaluate-expression "sizeof(wchar_t)"
^error,msg="No symbol \"wchar_t\" in current context."
-data-evaluate-expression "sizeof(float)"
^done,value="4"
-data-evaluate-expression "sizeof(double)"
^done,value="8"
-data-evaluate-expression "sizeof(long double)"
^done,value="8"
info target
&"info target\n"
~"Symbols from \"C:\\SyncDataC\\VisualProjects\\nRfBlinkAllSolution\\VisualGDB\\Debug\\nRfBlinkAll\".\n"
~"Remote serial target in gdb-specific protocol:\n"
~"Debugging a target over a serial line.\n"
~"\tWhile running this, GDB does not access memory from...\n"
~"Local exec file:\n"
~"\t`C:\\SyncDataC\\VisualProjects\\nRfBlinkAllSolution\\VisualGDB\\Debug\\nRfBlinkAll', file type elf32-littlearm.\n"
~"\tEntry point: 0x1c024\n"
~"\t0x00000000 - 0x0001b000 is .softdevice\n"
~"\t0x20000000 - 0x20001fe8 is .softdevice_sram\n"
~"\t0x0001b000 - 0x0001b0c0 is .isr_vector\n"
~"\t0x0001b0c0 - 0x0001c350 is .text\n"
~"\t0x0001c350 - 0x0001c354 is .init_array\n"
~"\t0x0001c354 - 0x0001c358 is .fini_array\n"
~"\t0x20001fe8 - 0x20001fec is .data\n"
~"\t0x20001fec - 0x20002074 is .bss\n"
^done
-data-evaluate-expression "&_estack"
^done,value="0x20004000"
-var-create - * "*((void **)0x20003ffc)"
^done,name="var1",numchild="0",value="0x78723d7a",type="void *",has_more="0"
-var-assign "var1" 0x105d5a2d
^done,value="0x105d5a2d"
-data-evaluate-expression "\*\(\(void\ \*\*\)0x20003ffc\)"
^done,value="0x105d5a2d"
-exec-continue
^running
*running,thread-id="all"
~"Note: automatically using hardware breakpoints for read-only addresses.\n"
Lesezeichen