kernel and application debugging

3 messages Options
Embed this post
Permalink
Matthew Willis-2

kernel and application debugging

Reply Threaded More More options
Print post
Permalink
I'm getting started with okl4.  I'm new to OS and embedded development, and I'm trying to get setup with a reasonable debugging experience.

I noticed that the skyeye simulator has gdb remote debugging support, but when I use this in the naive way the symbols (kernel and application) are not found by arm-elf-gdb, even if I change the gcc flags for my application to include debugging symbols.

What is the preferred method of debugging by okl4 engineers?  What about application engineers?

Thank you for your help, and I'm looking forward to participating in this community!

Matthew Willis

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Stefan M. Petters-2

Re: kernel and application debugging

Reply Threaded More More options
Print post
Permalink
Dear Matthew,

yep, debugging symbols are stripped out or mangled. That's a known
problem. See
    http://lists.okl4.org/pipermail/developer/2008-April/000943.html
In older versions people were able to use the symbols in some binaries,
but I take it that's been lost to some degree.
If you browse the mailing list archives, you will find more info.

Regards,
    Stefan.
Matthew Willis wrote:

> I'm getting started with okl4.  I'm new to OS and embedded
> development, and I'm trying to get setup with a reasonable debugging
> experience.
>
> I noticed that the skyeye simulator has gdb remote debugging support,
> but when I use this in the naive way the symbols (kernel and
> application) are not found by arm-elf-gdb, even if I change the gcc
> flags for my application to include debugging symbols.
>
> What is the preferred method of debugging by okl4 engineers?  What
> about application engineers?
>
> Thank you for your help, and I'm looking forward to participating in
> this community!

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

Re: kernel and application debugging

Reply Threaded More More options
Print post
Permalink
In reply to this post by Matthew Willis-2
Hi Matthew,

On Sat, Sep 12, 2009 at 11:20 PM, Matthew Willis <[hidden email]> wrote:
I'm getting started with okl4.

Welcome to OKL4 :-)

<...> 
What is the preferred method of debugging by okl4 engineers?

Have a read over section A-14 of the OKL4 Reference Manual (http://wiki.ok-labs.com/downloads/release-3.0/okl4-ref-manual-3.0.pdf) and give KDB and kernel tracing a try - let us know if you have any questions.

Cheers,
Josh 

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