> > 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. > > > BTW, I discovered that "cp -a * /mnt" did not do a very nice job of > duplicating Hurd on another partition. It messed up all the device > files. I decided to reinstall from the tarball to give me a nice clean > environment and test it out as well.
cp does not (yet) copy the Hurd attributes (e.g. the passive translator settings).