[okl4-developer] About Remote debugging of Skyeye
Peter Howard
peterh at ok-labs.com
Fri Dec 19 12:33:54 EST 2008
Hi Mozan,
On Mon, 2008-12-01 at 06:39 -0800, mozan wrote:
> Will Elfweaver remove the symbol table when link those modules to a Elf
> image?
>
> If so, how can I trace the kernel code with GNU debugger?
>
> I tried KDB instead, but it's kind of hard to trace code with KDB.(maybe
> there's some trick I don't know)
I've run OKL4 on skyeye under gdb, but that was for the purpose of
debugging skyeye, not OKl4 :-) Currently there's no explicit support
for debugging OKL4 via gdb.
If you look at the skyeye.conf we provide at
http://wiki.ok-labs.com/downloads/release-3.0/skyeye.conf , you'll see
there are two lines commented out at the end. If you uncomment one or
the other of those you get debug trace out of skyeye The first one gives
an execution trace. You can then cross-check with the output of
arm-unknown-linux-gnueabi-objdump -DC on image.elf to trace the program
execution.
Hope that helps somewhat,
--
Peter Howard <peterh at ok-labs.com>
More information about the Developer
mailing list