development:tools:debug:start
Table of Contents
Debug
GDB
- GDB Quick Reference (pdf)
- my .gdbinit
set print pretty on set listsize 32 set breakpoint pending on set tcp connect-timeout 4 define hook-quit set confirm off end # signals handle all print handle SIG32 nostop noprint pass # set sysroot <build-path/sysroot-dir> # set solib-search-path bla:and:bla # cd <build-path> # file ./<app> target remote 192.168.11.10:2345 # C++ exceptions # GCC: break __cxa_throw # catch throw # catch throw std::* catch throw std::out_of_range # breakpoints b main b abort b std::terminate c
Lauterbach TRACE32
Links
Commands
- start of debugger
t32m* [-c <conf> [arg]] [-s <script> [arg]]
Files
~/t32.cmm
: start-up script, searched inPATH
Examples
- start-up script
;RADIX Hex Break.Set \\vmlinux\traps\die /Onchip Break.Set __do_user_fault /Onchip MENU.ReProgram ( ADD TOOLBAR ( TOOLITEM "Start <app> debugging" "do ~~/demo/arm/kernel/linux/linux-3.x/app_debug.cmm <app> /dialog" [ BBB BBB BBB B B B B B B B B B B B B BBB BBB BBB B B B B B B B B B B B B ] TOOLITEM "Start <other> debugging" ":pgo" "do ~~/demo/arm/kernel/linux/linux-3.x/app_debug.cmm <other> /dialog" SEPARATOR ) ) TOOLBAR ON STATUSBAR ON FramePOS 0.0 3.75 234. 56. WinPAGE.RESet WinPAGE.Create P000 WinCLEAR WinPOS 0.25 32.875 148. 11. 32. 1. W001 WinTABS 13. 0. 20. 0. 0. 20. 0. ws.BREAK.LIST WinPOS 0.0 0.0 148. 41. 22. 1. W000 WinTABS 10. 10. 25. 62. ws.DATA.LIST WinPOS 114.13 33.0 156. 11. 31. 1. W003 WinTABS 24. ws.SYMBOL.AUTOLOAD.LIST WinPOS 164.63 0.0 67. 29. 5. 0. W002 wl.Frame WinPAGE.select P000 ENDDO
development/tools/debug/start.txt · Last modified: 2023/10/21 18:56 by Ralf H.