Re: [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

[uml-user] uml and gdb debugging questions

2006-07-11 Thread Miao Qingjun
Hi,   I have several problems about uml-2.6.17 and gdb debugging.   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?     When I type control-c in gdb, the virtual console xterm is also close

Re: [uml-user] uml and gdb

2006-01-05 Thread Johannes Loinig
On Tuesday 03 January 2006 20:40, Blaisorblade wrote: > On Tuesday 03 January 2006 17:02, Johannes Loinig wrote: > > Hi there! > > > > I have a problem using gdb with my running uml in skas mode. I get a lot > > of SIGTRAP messages so debugging is impossible. > > > > Program received signal SIGTRAP

Re: [uml-user] uml and gdb

2006-01-03 Thread Blaisorblade
On Tuesday 03 January 2006 17:02, Johannes Loinig wrote: > Hi there! > > I have a problem using gdb with my running uml in skas mode. I get a lot of > SIGTRAP messages so debugging is impossible. > Program received signal SIGTRAP, Trace/breakpoint trap > ... > > I'm using kernel version 2.6.14.3 c

[uml-user] uml and gdb

2006-01-03 Thread Johannes Loinig
Hi there! I have a problem using gdb with my running uml in skas mode. I get a lot of SIGTRAP messages so debugging is impossible. Program received signal SIGTRAP, Trace/breakpoint trap ... I'm using kernel version 2.6.14.3 compiled with gcc-3.4.5. Any hints? thx a lot Johannes pgpBjFhr0dB

Re: [uml-user] UMl and gdb?

2005-02-05 Thread Blaisorblade
On Saturday 05 February 2005 09:55, Zoltan NAGY wrote: > Blaisorblade wrote: > > From my patchlist, I'm going to choose a patch which changes > > somethings which > > > >actually relate to this bug... if it does not work, then retest both by > >enabling and disablign the above CONFIG_ option. > > >

Re: [uml-user] UMl and gdb?

2005-02-05 Thread Zoltan NAGY
Blaisorblade wrote: From my patchlist, I'm going to choose a patch which changes somethings which actually relate to this bug... if it does not work, then retest both by enabling and disablign the above CONFIG_ option. Hope this helps! now, after your patch, it works. one little note: the st

Re: [uml-user] UMl and gdb?

2005-02-03 Thread Blaisorblade
On Friday 04 February 2005 07:21, Zoltan NAGY wrote: > Jeff Dike wrote: > >How about some more details? > > here it goes... > > the program I'm tring to debug is at http://nagyz.nefty.hu/uml/ > I start the guest: > [EMAIL PROTECTED]:~/uml$ linux/vmlinux ubd0=root mem=256M con0=null,fd:2 > con1=fd:

Re: [uml-user] UMl and gdb?

2005-02-03 Thread Zoltan NAGY
Jeff Dike wrote: How about some more details? here it goes... the program I'm tring to debug is at http://nagyz.nefty.hu/uml/ I start the guest: [EMAIL PROTECTED]:~/uml$ linux/vmlinux ubd0=root mem=256M con0=null,fd:2 con1=fd:0,fd:1 eth0=tuntap,,,192.168.1.1 Checking for /proc/mm...found Checki

Re: [uml-user] UMl and gdb?

2005-02-03 Thread Jeff Dike
[EMAIL PROTECTED] said: > I've been tring to use gdb within UML. Is it supported/possible? Sure: usermode:~# gdb getpid GNU gdb 19990928 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribu

[uml-user] UMl and gdb?

2005-02-03 Thread Zoltan NAGY
Hello! I've been tring to use gdb within UML. Is it supported/possible? when I try I get this: kernel BUG at mm/memory.c:891! Kernel panic - not syncing: BUG! EIP: 0073:[<4017e7ac>] CPU: 0 Not tainted ESP: 007b:b03c EFLAGS: 0293 Not tainted EAX: ffda EBX: 0001 ECX: 0137 EDX: