[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oskit-mach: gdb_break_stub() confusion



Doooh! Ok, I get it. Never mind. I run the program gdb-break
on the running Hurd system.

Daniel Wagner wrote:

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.

- Doug




Reply to: