Re: [uml-devel] [uml-user] uml and gdb debugging questions

2006-07-14 Thread Blaisorblade
On Thursday 13 July 2006 21:37, Jeff Dike wrote: > 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 wel

Re: [uml-devel] [uml-user] uml and gdb debugging questions

2006-07-13 Thread Jeff Dike
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 wh