Connect GDB to Your DUT

lager gdbserver

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]

Options

--gateway <gateway>

ID of gateway to which DUT is connected

--host <host>

interface for gdbserver to bind. Use --host '*' to bind to all interfaces.

Default

localhost

--port <port>

Port for gdbserver

Default

3333

--local

Connect to gateway via local network

Default

False