On Wed, Jul 12, 2006 at 09:05:22AM +0800, Miao Qingjun wrote:
> I start "gdb uml", "b sys_init_module", then "run",
> but gdb is not break at sys_init_module() when I insmod LKM?
> Why? How can I do it?

Some versions of gdb don't work well on UML.  One thing that often
works is to attach to UML when it's booted, just before doing whatever
you want to debug.

                                Jeff

> When I type control-c in gdb, the virtual console xterm is also
> closed,

How are you running UML?  You normally can't ^C to get back to gdb
because the UML console has put the terminal in raw mode, so it can
see ^C, ^Z, etc and pass them along to the UML foreground process.

What I normally do is kill -INT <pid>, where pid is the lowest UML
pid.

                                Jeff


-------------------------------------------------------------------------
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-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to