Linux and Android debug
For application development on Linux or Android, it is common to use GDB (the GNU Project Debugger) or ADB (Android Debug Bridge). These methods of debug do not make a connection into the lower level CoreSight architecture of a system and instead rely on a server to allow software debug. GDB is integrated into Arm Development Studio.
- The Debugging a Linux Symmetric Multi-Processing (SMP) Kernel tutorial shows how to use Arm Development Studio to debug a Linux SMP kernel.
- The Linux application debug on a development board tutorial shows how to use gdbserver to debug a Linux application.
- The Linux Application Debugging using an FVP simulation model tutorial takes you through the process of creating a simple "Hello World" Linux application and then loading the application on a Cortex-A9 Fixed Virtual Platform (FVP) model running Arm embedded Linux. The Cortex-A9 FVP model is provided with DS-5.
- The Debugging Android native C/C++ applications and libraries tutorial describes how to debug the hello-neon application provided with the Android Native Development Kit (NDK). It uses the Android SDK Platform 2.2 and the Android emulator as the target.
Arm DDT (part of Arm Allinea Studio) is a graphical debugger for C/C++/Fortran applications running on Arm servers or Arm systems. It supports all major 64-bit Linux distributions and includes sophisticated memory debugging and highly scalable multi-process debugging.