User Tools

Site Tools


development:tools:debug:start

Table of Contents

Debug

GDB

  • my .gdbinit
  set print pretty on
  set listsize 20
 
  define hook-quit
    set confirm off
  end
 
  ;signal handling
  handle all print
  handle SIG32 nostop noprint pass
 
  set solib-search-path bla:and:bla
  cd <build-path>
  file ./<app>
  target remote 192.168.11.10:2345
 
  ;set break
  b CClass::Method
 

Lauterbach TRACE32

Commands

  • start of debugger
  t32m* [-c <conf> [arg]] [-s <script> [arg]]
 

Files

  • ~/t32.cmm: start-up script, searched in PATH

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: 2021/04/20 09:09 by Ralf Hoppe