Skip to contentSkip to conversation

Debugging of Linux init code

Qemu-devel TusharK 1 participant 1 message Oct 14, 2011

lore
Share & tools
lore

TusharK

author
#0 lore raw

Hi,

I would like to debug the head.S code. I compiled the kernel with the debug information and put the breakpoints at start_kernel, __init_begin, decompress_kernel, __start functions. But all these breakpoints except start_kernel were never hit. Always the execution is stopped at start_kernel function. I wanted to debug the code before this function, how can I do that? Can you please provide some information on this.

Thanks & Regards,

Tushar