This topic describes how to use GDB to debug bare-metal applications.
To debug bare-metal applications:
- Create a sample Hello World project.
- Select the application and click
. The Debug Configuration view opens with the Main view
selected. - By default, the GDB shipped within the Vitis software platform is used with the default port, but you
can specify the GDB and the port in the Debugger view in Debug
Configurations.Note: Default ports used by the GDB server for different architectures are as follows:
- Arm: 3000
- Arm: AArch64
- MicroBlaze: 3002
- Click the Debug button to
start debugging the application.