Page MenuHomeFreeBSD

Create kernel.debug.noheader by default on ARM
ClosedPublic

Authored by wma_semihalf.com on Oct 27 2015, 10:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 20, 9:41 AM
Unknown Object (File)
Sun, Oct 19, 9:34 AM
Unknown Object (File)
Thu, Oct 9, 11:20 AM
Unknown Object (File)
Thu, Oct 2, 8:37 PM
Unknown Object (File)
Tue, Sep 30, 5:56 AM
Unknown Object (File)
Tue, Sep 30, 1:46 AM
Unknown Object (File)
Mon, Sep 29, 1:02 PM
Unknown Object (File)
Thu, Sep 25, 8:05 PM
Subscribers
None

Details

Summary
It is convenient to have a kernel without header build along with normal one. This
allows any debugger to easily understand kernel *.elf images.
If normal kernel.debug is used, all symbols are moved by an offset
of 0x100 (header size) what makes the gdb/kgdb hard to use.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wma_semihalf.com retitled this revision from to Create kernel.debug.noheader by default on ARM.
wma_semihalf.com updated this object.
wma_semihalf.com edited the test plan for this revision. (Show Details)
wma_semihalf.com added reviewers: imp, ian, jhb, kib, zbb.
zbb edited edge metadata.
This revision is now accepted and ready to land.Nov 2 2015, 11:29 AM

Why are you using kernel.bin and not loading the kernel with loader?

I don't understand how is your question related to this change. Especially that I do use loader...

If you're not using kernel.bin then we have a different problem, where this is not the correct fix. If kernel.debug doesn't line up with kernel then that should be fixed, not by adding a new debug kernel.

OBE. We no longer have a .noheader
If there's something relevant to the current tree that I'm overlooking, please open a new review.