Karim Allah Ahmed, le Mon 12 Apr 2010 13:45:49 +0200, a écrit : > >(gdb) break i386at_init > >Breakpoint 2 at 0x100790: file ../i386/i386at/model_dep.c, line 322. > >(gdb) continue > >Continuing. > > (here the gnumach simply restarts giving me back the boot loader , as if it > didn't even breaks at the second break point .. and continue simply blocks )
IIRC, gdb gets confused because it mixes virtual and linear addresses, which are not the same in Mach. > [Note , i'm debugging gnumach because it crashes and reboots after doing some > modifications in the initialization phase .. and kdb isn't yet initialized]x For such debugging, I usually use the "write text at 0xb8000 then while(1);" hack :) Samuel