About Remote debugging of Skyeye

2 messages Options
Embed this post
Permalink
mozan

About Remote debugging of Skyeye

Reply Threaded More More options
Print post
Permalink
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)
Peter Howard

Re: About Remote debugging of Skyeye

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]>


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer