Re: Start the kernel under a debugger

2024-10-19 Thread Mike Larkin
On Sat, Oct 19, 2024 at 11:43:01AM +0200, Christian Schulte wrote: > Hi @misc, > > could someone point me to some documentation on how to do the following: > Set a breakpoint on e.g. main() in sys/kern/init_main.c or even earlier > in locore.S and start the kernel under a debugge

Start the kernel under a debugger

2024-10-19 Thread Christian Schulte
Hi @misc, could someone point me to some documentation on how to do the following: Set a breakpoint on e.g. main() in sys/kern/init_main.c or even earlier in locore.S and start the kernel under a debugger to be able to step through the early initialization stages. Searching the web yields quite