Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 471,856 2-gdb-show language
- 471,856 3-list-thread-groups
- 471,856 2^done,value="auto"
- 471,857 (gdb)
- 471,857 3^done,groups=[{id="i1",type="process"}]
- 471,857 (gdb)
- 471,857 4-data-evaluate-expression "sizeof (void*)"
- 471,858 4^done,value="4"
- 471,858 (gdb)
- 471,858 5-gdb-set language auto
- 471,858 5^done
- 471,858 (gdb)
- 471,859 6-interpreter-exec console "show endian"
- 471,859 ~"The target endianness is set automatically (currently little endian)\n"
- 471,859 6^done
- 471,859 (gdb)
- 471,861 7-gdb-version
- 471,861 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs\n"
- 471,861 ~"Copyright (C) 2013 Free Software Foundation, Inc.\n"
- 471,862 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
- e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
- ed by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
- 471,862 ~"This GDB was configured as \"--host=i686-linux-gnu --target=arm-none-eabi\".\nFor bug repo\
- rting instructions, please see:\n"
- 471,862 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
- 471,862 7^done
- 471,862 (gdb)
- 471,863 8-environment-cd /home/bluetiger/dev/Kinetis/CppTest222
- 471,863 8^done
- 471,863 (gdb)
- 471,864 9-gdb-set breakpoint pending on
- 471,864 9^done
- 471,864 (gdb)
- 471,864 10-enable-pretty-printing
- 471,864 10^done
- 471,864 (gdb)
- 471,865 11-gdb-set python print-stack none
- 471,865 11^done
- 471,865 (gdb)
- 471,865 12-gdb-set print object on
- 471,865 12^done
- 471,865 (gdb)
- 471,866 13-gdb-set print sevenbit-strings on
- 471,866 13^done
- 471,866 (gdb)
- 471,866 14-gdb-set charset ISO-8859-1
- 471,867 14^done
- 471,867 (gdb)
- 471,867 15source .gdbinit
- 471,867 &"source .gdbinit\n"
- 471,867 &".gdbinit: No such file or directory.\n"
- 471,867 15^error,msg=".gdbinit: No such file or directory."
- 471,868 (gdb)
- 471,868 16set mem inaccessible-by-default off
- 471,868 &"set mem inaccessible-by-default off\n"
- 471,868 =cmd-param-changed,param="mem inaccessible-by-default",value="off"
- 471,868 16^done
- 471,868 (gdb)
- 471,869 17-gdb-set auto-solib-add on
- 471,869 17^done
- 471,869 (gdb)
- 471,869 18-target-select remote localhost:2331
- 471,871 =thread-group-started,id="i1",pid="42000"
- 471,871 =thread-created,id="1",group-id="i1"
- 471,871 19-list-thread-groups --available
- 471,883 *stopped,frame={addr="0x00000000",func="??",args=[]},thread-id="1",stopped-threads="all"
- 471,884 18^connected
- 471,884 (gdb)
- 471,884 19^error,msg="Can not fetch data now."
- 471,884 (gdb)
- 471,895 20monitor speed 30
- 471,895 21monitor clrbp
- 471,895 22monitor reset
- 471,895 &"monitor speed 30\n"
- 471,895 23monitor halt
- 471,895 24monitor regs
- 471,895 25flushreg
- 471,895 26monitor speed auto
- 471,895 27monitor flash breakpoints 1
- 471,896 28monitor semihosting enable
- 471,896 @"Target interface speed set to 30 kHz\r\n"
- 471,896 29monitor semihosting IOClient 0
- 471,896 20^done
- 471,896 (gdb)
- 471,896 30monitor SWO DisableTarget 0xFFFFFFFF
- 471,896 &"monitor clrbp\n"
- 471,896 31monitor SWO EnableTarget 0 0 0x1 0
- 471,896 32symbol-file /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf
- 471,896 21^done
- 471,896 (gdb)
- 471,896 33load /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf
- 471,896 &"monitor reset\n"
- 472,490 @"Resetting target\r\n"
- 472,491 22^done
- 472,491 (gdb)
- 472,491 &"monitor halt\n"
- 472,491 23^done
- 472,491 (gdb)
- 472,491 &"monitor regs\n"
- 472,492 34-list-thread-groups
- 472,492 @"R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000\n"
- 472,492 @"R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000\n"
- 472,492 @"R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000\n"
- 472,492 @"R12= 00000000, R13= 20030000, MSP= 20030000, PSP= 00000000\n"
- 472,492 @"R14(LR) = FFFFFFFF, R15(PC) = 000004D8\n"
- 472,492 @"XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000\n"
- 472,492 @"CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00\r\n"
- 472,492 24^done
- 472,492 (gdb)
- 472,492 &"flushreg\n"
- 472,493 ~"Register cache flushed.\n"
- 472,793 25^done
- 472,793 (gdb)
- 472,795 &"monitor speed auto\n"
- 472,795 @"Select auto target interface speed (1429 kHz)\r\n"
- 472,795 26^done
- 472,795 (gdb)
- 472,795 &"monitor flash breakpoints 1\n"
- 472,795 @"Flash breakpoints enabled\r\n"
- 472,796 27^done
- 472,796 (gdb)
- 472,796 &"monitor semihosting enable\n"
- 472,796 @"Semi-hosting enabled (Handle on BKPT)\r\n"
- 472,796 28^done
- 472,796 (gdb)
- 472,796 &"monitor semihosting IOClient 0\n"
- 472,797 @"Wrong client mask. Semihosting I/O not changed.\r\n"
- 472,797 29^done
- 472,797 (gdb)
- 472,797 &"monitor SWO DisableTarget 0xFFFFFFFF\n"
- 472,797 @"Failed to disable SWO.\r\n"
- 472,797 30^done
- 472,797 (gdb)
- 472,797 &"monitor SWO EnableTarget 0 0 0x1 0\n"
- 472,842 @"Failed to enable SWO. Could not determine a suitable SWO speed!\r\n"
- 472,842 31^done
- 472,842 (gdb)
- 472,842 &"symbol-file /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf\n"
- 472,843 ~"Reading symbols from /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf..."
- 472,849 ~"done.\n"
- 472,850 32^done
- 472,850 (gdb)
- 472,850 &"load /home/bluetiger/dev/Kinetis/CppTest222/Debug/CppTest222.elf\n"
- 472,850 ~"Loading section .flash_config, size 0x10 lma 0x400\n"
- 472,851 33+download,{section=".flash_config",section-size="16",total-size="1000870"}
- 472,851 33+download,{section=".flash_config",section-sent="16",section-size="16",total-sent="16",tot\
- al-size="1000870"}
- 472,851 ~"Loading section .interrupts, size 0x3c0 lma 0x1fff0000\n"
- 473,034 33+download,{section=".interrupts",section-size="960",total-size="1000870"}
- 473,035 ~"Loading section .text, size 0x5960 lma 0x20000000\n"
- 473,392 33+download,{section=".text",section-size="22880",total-size="1000870"}
- 473,393 33+download,{section=".text",section-sent="16176",section-size="22880",total-sent="17152",to\
- tal-size="1000870"}
- 473,543 ~"Loading section .ARM.extab, size 0x30 lma 0x20005960\n"
- 473,546 33+download,{section=".ARM.extab",section-size="48",total-size="1000870"}
- 473,546 ~"Loading section .ARM, size 0xd8 lma 0x20005990\n"
- 473,553 33+download,{section=".ARM",section-size="216",total-size="1000870"}
- 473,553 ~"Loading section .init_array, size 0x4 lma 0x20005a68\n"
- 473,555 33+download,{section=".init_array",section-size="4",total-size="1000870"}
- 473,555 ~"Loading section .fini_array, size 0x4 lma 0x20005a6c\n"
- 473,557 33+download,{section=".fini_array",section-size="4",total-size="1000870"}
- 473,557 ~"Loading section .data, size 0x70 lma 0x20005a70\n"
- 473,561 33+download,{section=".data",section-size="112",total-size="1000870"}
- 473,562 ~"Start address 0x200000c8, load size 24240\n"
- 473,562 ~"Transfer rate: 33 KB/sec, 2693 bytes/write.\n"
- 473,562 33^done
- 473,562 (gdb)
- 473,564 34^done,groups=[{id="i1",type="process",pid="42000"}]
- 473,564 (gdb)
- 473,565 35-gdb-show --thread-group i1 language
- 473,565 35^done,value="auto"
- 473,565 (gdb)
- 473,566 36-gdb-set --thread-group i1 language c
- 473,567 ~"Warning: the current language does not match this frame.\n"
- 473,567 36^done
- 473,567 (gdb)
- 473,568 37-interpreter-exec --thread-group i1 console "p/x (char)-1"
- 473,570 38-list-thread-groups i1
- 473,644 ~"$1 = 0xff\n"
- 473,645 37^done
- 473,645 (gdb)
- 473,645 38^done,threads=[{id="1",target-id="Thread <main>",frame={level="0",addr="0x200000c8",func="\
- Reset_Handler",args=[],file="../startup/startup_MK82F25615.S",fullname="/home/bluetiger/dev/Kinetis/\
- CppTest222/startup/startup_MK82F25615.S",line="310"},state="stopped"}]
- 473,645 (gdb)
- 473,646 39-data-evaluate-expression --thread-group i1 "sizeof (void*)"
- 473,646 39^done,value="4"
- 473,646 (gdb)
- 473,647 40-gdb-set --thread-group i1 language auto
- 473,647 40^done
- 473,647 (gdb)
- 473,648 41-interpreter-exec --thread-group i1 console "show endian"
- 473,649 ~"The target endianness is set automatically (currently little endian)\n"
- 473,649 41^done
- 473,649 (gdb)
- 473,651 42monitor clrbp
- 473,651 43monitor reset
- 473,651 &"monitor clrbp\n"
- 473,651 44monitor halt
- 473,651 45tbreak main
- 473,651 46monitor regs
- 473,651 42^done
- 473,651 (gdb)
- 473,651 &"monitor reset\n"
- 473,651 47flushreg
- 473,651 48continue
- 473,652 49-stack-info-depth --thread 1 11
- 473,679 @"Resetting target\r\n"
- 473,680 43^done
- 473,680 (gdb)
- 473,680 &"monitor halt\n"
- 473,680 44^done
- 473,680 (gdb)
- 473,680 &"tbreak main\n"
- 473,723 ~"Temporary breakpoint 1 at 0x200029ee: file ../source/main.cpp, line 44.\n"
- 473,723 =breakpoint-created,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x200029\
- ee",func="main()",file="../source/main.cpp",fullname="/home/bluetiger/dev/Kinetis/CppTest222/source/\
- main.cpp",line="44",thread-groups=["i1"],times="0",original-location="main"}
- 473,724 45^done
- 473,724 (gdb)
- 473,724 &"monitor regs\n"
- 473,724 @"R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000\n"
- 473,724 @"R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000\n"
- 473,724 @"R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000\n"
- 473,724 @"R12= 00000000, R13= 20030000, MSP= 20030000, PSP= 00000000\n"
- 473,724 @"R14(LR) = FFFFFFFF, R15(PC) = 000004D8\n"
- 473,724 @"XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000\n"
- 473,725 @"CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00\r\n"
- 473,725 46^done
- 473,725 (gdb)
- 473,725 &"flushreg\n"
- 473,725 ~"Register cache flushed.\n"
- 473,732 47^done
- 473,732 (gdb)
- 473,733 &"continue\n"
- 473,733 ~"Continuing.\n"
- 473,733 48^running
- 473,733 *running,thread-id="all"
- 473,733 (gdb)
Add Comment
Please, Sign In to add comment