Kernel Debugging: Difference between revisions

[unchecked revision][unchecked revision]
No edit summary
Line 153:
 
lldb
(lldb) process connect --plugin gdb-remote connect://localhost:1234
Process 1 stopped
* thread #1, stop reason = signal SIGTRAP
Line 163:
 
(Replace localhost with remote IP / URL if necessary.) Then start execution:
 
(lldb) c
Process 1 resuming
 
To set a breakpoint:
(lldb) breakpoint set --name kmain
Breakpoint 1: where = kernel.elf`kmain, address = 0xffffffff802025d0
 
=== Use bochs debugger ===
Anonymous user