Setting up GDB in Eclipse
Configuring Eclipse Debugger
In your Eclipse project go to
Run->Debug Configurations...
Select the
Debuggertab.Select the
Connect to remote GDB serverradio button and underHost Nameenter localhost and underPort Numberenter 3333
Hit Apply
Launching GDB Debugging in Eclipse with Lager
Plug device into Lager Gateway
Connect to device, e.g.
lager connect --device stm32f3x --interface stlink --transport hla_swdStart gdb server
~ lager gdbserver
Serving GDB on localhost:3333. Press Ctrl+C to quit.
In Eclipse start the debugger.



