Linux Application Debugging using Arm DS
Overview Creating a Simple Hello World Linux Application using C Creating a New C Project Configuring the Settings for New Project Creating the Source Code and Building the Project Debug the Linux Application on a Fixed Virtual Platform Model Creating an Arm DS Debug Configuration and Connecting to a FVP Model Debug Views Stepping Through the Application Disconnecting from the Debug Connection
Prerequisites:
1. This tutorial assumes that you have installed an Arm DS and acquired the license to use it. If not, use the Getting Started with Arm DS tutorial to install DS and acquire a license.
2. This example is intended to be built with Linaro arm-linux-gnueabihf GCC. If you wish to modify and rebuild the example, you must have Linaro arm-linux-gnueabihf GCC installed. Linaro arm-linux-gnueabihf GCC is not supplied with Development Studio, but can be downloaded from the Linaro web-site (see link).
Creating a Simple Hello World Linux Application using C
To create a Linux application using C in Arm DS:
- Create a new C project and use the GCC toolchain.
- Set up the GCC toolchain compiler and linker options to build with the appropriate settings for Arm Embedded Linux running on a Fixed Virtual Platform (FVP) model.
- Create a source file and build it to create an application.