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
-
By default, GDB shipped with in SDK is used with default port, but user can
specify the GDB and the port in the Debugger tab in Debug Configurations.

Note: Default ports used of GDB server for different architecture are as
follows:
- arm - 3000
- a64 - 3001
- microblaze - 3002
-
Click the Debug button, to start debugging the application.