On Sunday 13 August 2006 17:41, James McMechan wrote: > >From: Blaisorblade <[EMAIL PROTECTED]> > >To: [email protected] > >CC: "James McMechan" <[EMAIL PROTECTED]>, > >[email protected] > >Subject: Re: [uml-devel] [ link to patch] resurrecting the uml-hcd > >Date: Sun, 13 Aug 2006 13:24:28 +0200
> It is a maze of calls and I have not been able to use breakpoints with gdb > much less the module symbols For module debugging a very recent mail explained the solution in detail. For break panic, it never worked for me - the suggestion is to add a pause() call in a loop checking a variable, and to change the var only in gdb; since such a var would be optimized out, add a global function called nowhere which sets that var too (on the list a more involved solution was proposed to stop the optimization but this should work). > I set the usual > > b sys_init_module > b panic > > and on modprobe I just get > > [42949532.180000] Kernel panic - not syncing: Segfault with no mm > [42949532.180000] [42949532.180000] > Program exited with code 01. > (gdb) -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
