Re: oskit-mach: gdb_break_stub() confusion
> How is it used anyways? I get the idea about putting a system call
> into oskit-mach, but I can't see in my gdb manual any info on calling
> an external program while remote debugging.
When you attach gdb the kernel, set a breakpoint at gdb_break_stub.
Then start you kernel (pressing 'c').
Say you want to debug a function in the kernel where you don't have
break point, start your compiled gdb-break program on the console.
Now you should hit the gdb_break_stub breakpoint. From there it
should be clear.
wagi
--
Daniel Wagner "Don't drink and derive."
email: wagi@gmx.ch
GnuPG: 1024D/DCDE890A (public key available on any keyserver)
Reply to: