Linux Debugging Front- Mainly Stop-Mode Debugging End Run-Mode Debugging Possible
Total Page:16
File Type:pdf, Size:1020Kb
Hardware-based Products Debugger via JTAG Power Mainly Stop-mode debugging Debug Combined Run- and Stop-mode debuggingDebugger possiblevia JTAG Power Mainly Stop-mode debugging Debug Combined Run- and Stop-mode debugging possible Real-Time Trace Linux-aware single core and Power multicore tracing Trace II Stop-modeReal-Time debuggingTrace only Linux-aware single core and Power multicore tracing Trace II Stop-mode debugging only Software-only Products TRACE32 Debugger Virtual Target Benefi t from the same userDebugger interface on for all Virtual products. Targets Front- Mainly Stop-mode debugging End TRACE32 Debugger Run-mode debugging possible Virtual Target Debugger for Virtual Targets Linux Debugging Front- Mainly Stop-mode debugging End Run-mode debugging possible TRACE32 Debugger Debugger via GDB Protocol ® ® Front- • Arm /Cortex Run-mode debugging ® End • Intel Processors ® TRACE32 Debugger GDB and KGDB • MIPS Architecture Debugger via GDB Protocol TM Front- • Power Architecture Run-mode debugging ® End • RISC-V GDB and KGDB • and others For more information visit: www.lauterbach.com/rtoslinux.html Lauterbach GmbH Altlaufstraße 40 • 85635 Höhenkirchen • Tel: +49 8102 9876 0 • [email protected] 44 Visit our offi cial Youtube channel and discover our new tutorials: http://www.youtube.com/user/lauterbachgmbh x20.2 Run-mode Debugging Linux Debugging Environment Debugging via GDB protocol is Run-mode debugging. This means only the selected process is stopped, while the TRACE32 supports all Linux distributions, bundles and platforms using kernel and all other processes are not infl uenced. the standard Linux kernel (e.g. Android). It offers: List of Linux processes Benefi ts • Linux-aware debugging of single core systems • Ideal for pure application process debugging • Linux-aware debugging of SMP systems • Communication interfaces remain active (e.g. Ethernet, RS232) • As a special feature, TRACE32 allows the user to concurrently use Run- and Stop-mode debugging. Stop-mode Debugging A JTAG debugger works with Stop-mode debugging. Linux-aware Tracing This means the processor and thus the whole system is stopped whenever a breakpoint is hit. This behavior makes it possible to analyze the overall system state at a Trace technologies allow an in-depth analysis of the behavior and the timing characteristics of the embedded system. specifi c point in time. Core trace modules generate information on the instruction execution and running processes for their related core. Benefi ts Off-chip parallel or serial trace ports allow a TRACE32 trace tool to record this information for Linux-aware trace • The only requirement for Stop-mode debugging is a analysis, providing effective troubleshooting, comprehensive profi ling and quality assurance. functioning JTAG interface. This enables debugging from the reset vector. • Debugging of the kernel and beyond process Time chart of processes and threads boundaries is possible because the TRACE32 debugger offers both Linux and MMU support. • If the software ceases to react, the processor can be stopped to fi nd out the point in the code where the processor crashed. • If the processor is stopped, neither the kernel nor any other process can interfere with your analysis. Call tree of a thread List of Linux processes Process-aware breakpoint MIPS for processes and threads 2 3 www.lauterbach.com/rtoslinux.html Run-mode Debugging Linux Debugging Environment Debugging via GDB protocol is Run-mode debugging. This means only the selected process is stopped, while the TRACE32 supports all Linux distributions, bundles and platforms using kernel and all other processes are not infl uenced. the standard Linux kernel (e.g. Android). It offers: List of Linux processes Benefi ts • Linux-aware debugging of single core systems • Ideal for pure application process debugging • Linux-aware debugging of SMP systems • Communication interfaces remain active (e.g. Ethernet, RS232) • As a special feature, TRACE32 allows the user to concurrently use Run- and Stop-mode debugging. Stop-mode Debugging A JTAG debugger works with Stop-mode debugging. Linux-aware Tracing This means the processor and thus the whole system is stopped whenever a breakpoint is hit. This behavior makes it possible to analyze the overall system state at a Trace technologies allow an in-depth analysis of the behavior and the timing characteristics of the embedded system. specifi c point in time. Core trace modules generate information on the instruction execution and running processes for their related core. Benefi ts Off-chip parallel or serial trace ports allow a TRACE32 trace tool to record this information for Linux-aware trace • The only requirement for Stop-mode debugging is a analysis, providing effective troubleshooting, comprehensive profi ling and quality assurance. functioning JTAG interface. This enables debugging from the reset vector. • Debugging of the kernel and beyond process Time chart of processes and threads boundaries is possible because the TRACE32 debugger offers both Linux and MMU support. • If the software ceases to react, the processor can be stopped to fi nd out the point in the code where the processor crashed. • If the processor is stopped, neither the kernel nor any other process can interfere with your analysis. Call tree of a thread List of Linux processes Process-aware breakpoint MIPS for processes and threads 2 3 www.lauterbach.com/rtoslinux.html Hardware-based Products Debugger via JTAG Power Mainly Stop-mode debugging Debug Combined Run- and Stop-mode debuggingDebugger possiblevia JTAG Power Mainly Stop-mode debugging Debug Combined Run- and Stop-mode debugging possible Real-Time Trace Linux-aware single core and Power multicore tracing Trace II Stop-modeReal-Time debuggingTrace only Linux-aware single core and Power multicore tracing Trace II Stop-mode debugging only Software-only Products TRACE32 Debugger Virtual Target Benefi t from the same userDebugger interface on for all Virtual products. Targets Front- Mainly Stop-mode debugging End TRACE32 Debugger Run-mode debugging possible Virtual Target Debugger for Virtual Targets Linux Debugging Front- Mainly Stop-mode debugging End Run-mode debugging possible TRACE32 Debugger Debugger via GDB Protocol ® ® Front- • Arm /Cortex Run-mode debugging ® End • Intel Processors ® TRACE32 Debugger GDB and KGDB • MIPS Architecture Debugger via GDB Protocol TM Front- • Power Architecture Run-mode debugging ® End • RISC-V GDB and KGDB • and others For more information visit: www.lauterbach.com/rtoslinux.html Lauterbach GmbH Altlaufstraße 40 • 85635 Höhenkirchen • Tel: +49 8102 9876 0 • [email protected] 44 Visit our offi cial Youtube channel and discover our new tutorials: http://www.youtube.com/user/lauterbachgmbh x20.2.