Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Jeff Dike
On Mon, Dec 17, 2007 at 11:24:23PM +0530, Manish Katiyar wrote: > I wanted that > when i do a "insmod mymodule.ko" from the shell prompt, since this > module calls register_filesytem gdb should stop at that breakpoint. > But this is not happening. The module just gets loaded successfully > and sile

Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Manish Katiyar
Hi, Thanks a lot jeff, Now i am able to boot my UML from gdb after your command. But still not able to achieve what i wanted. I wanted that when i do a "insmod mymodule.ko" from the shell prompt, since this module calls register_filesytem gdb should stop at that breakpoint. But this is not happeni

Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Jeff Dike
On Mon, Dec 17, 2007 at 05:19:36PM +0530, Manish Katiyar wrote: > I tried to use gdb and break on register_filesystem, but whenever > it gets called it crashes with the following stack > > Program received signal SIGSEGV, Segmentation fault. It's not a crash. Just tell gdb handle SIGSEGV