Allows source-level kernel debugging.
INCLUDEDWARF { file-name }
In this example
INCLUDEDDWARF { kernel.elf }
the linker inserts the .debug and .line sections of kernel.elf to your application. These sections let you debug source level code in the kernel while debugging your application.
You are limited to one executable file when using this directive. If you need to process more than one executable, add this directive to another file.