Connect GDB to Your DUT¶
Establish a proxy to GDB server on gateway. By default binds to localhost, meaning gdb client connections must originate from the machine running lager gdbserver. If you would like to bind to all interfaces, use --host '*'
The --local flag can be used if you are on the same network as your gateway, and will cause lager gdbserver to directly connect to your gateway on the local network for reduced latency. This command should only be used if you are on the same, trusted network as your gateway.
lager gdbserver [OPTIONS]
ID of gateway to which DUT is connected
interface for gdbserver to bind. Use --host '*' to bind to all interfaces.
Port for gdbserver
Connect to gateway via local network