EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

what ever happened to KGDBOE in Linux gdb kernel debug ?

Started by Microbit_Ubuntu October 28, 2010
Hi all,

I've recently revisited possible improved ways of kernel module source
debugging on eg. ARM9 target.
The kgdboc method works considerably well but I never got anywhere with
muxing on serial. Not that big a problem, but the serial method is
clumsy and slow IMO.

kgdboe seems to be some utopian concept ??
The whole NETPOLL frame seems to have vanished into the USB background.

Is there anyone that ever got kernel remote target debug going through
Ethernet in some fashion suitable for (arm-xxx-)gdb use with KGDB ?
--
Best regards,
Kris

Solved in the interim...
I discovered the much newer agent-proxy code and built that.
That seems to be a happy medium until the day I get something proper
JTAG on the target, like the Zylin Ethernet thingo or some such.
An extra workaround I found to work a bit OK too is to use
ttyGS0 on target through the USB "serial gadget".
inittab can set it up to log kernel messages through that serial into
ttyACM0 on Host PC.

The proxy still isn't the most ideal, since the debug traffic floods the
serial out-of-the-target, but it works quite OK.

Lastly, more further reading has clarified why kgdboe seems to have been
abandoned.

Tnx
Kris
On Fri, 2010-10-29 at 07:23 +1100, Microbit_Ubuntu wrote:
>
> Hi all,
>
> I've recently revisited possible improved ways of kernel module source
> debugging on eg. ARM9 target.
> The kgdboc method works considerably well but I never got anywhere
> with
> muxing on serial. Not that big a problem, but the serial method is
> clumsy and slow IMO.
>
> kgdboe seems to be some utopian concept ??
> The whole NETPOLL frame seems to have vanished into the USB
> background.
>
> Is there anyone that ever got kernel remote target debug going through
> Ethernet in some fashion suitable for (arm-xxx-)gdb use with KGDB ?
>
> --
> Best regards,
> Kris
>

--
Best regards,
Kris


The 2024 Embedded Online Conference