remote gdb

Marcel Moolenaar marcel at xcllnt.net
Tue May 3 22:12:22 UTC 2011


On May 3, 2011, at 5:58 AM, Damjan Marion wrote:

> 
> Hi,
> 
> I would like to setup remote debugging session but seems that my serial console is not seen as a debug interface.
> 
> GDB: no debug ports present
> 
> and
> 
> db> gdb
> The remote GDB backend could not be selected.
> 
> I tried to pass hint.uart.0.flags="0x90" trough hints file but no luck.

Try:
	set hw.uart.dbgport="mm:0xf1012000"
or:
	set hw.uart.dbgport="mm:0xf1012100,br:115200"

depending on which UART you want to use. Note that for
UART1 I also specified the baudrate because it's less
likely that the second UART is properly initialized.

FYI,

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the freebsd-arm mailing list