Reputation: 143
I am looking over the startup code for the Linux OS. It looks like it all starts in header.S
. Main is called, the kernel is unpacked and then start_kernel
is the first function ran.
How can I step through this assembly code step by step, to track what is happening inside the registers, memory, and the PC? The options I have looked over are QEMU and Visual Studios. Is this possible with gdb?
Upvotes: 0
Views: 15