[uml-user] problems debugging an uml skas kernel with gdb

2005-06-08 Thread marco ghidinelli
hello, i've problems debugging a UML SKAS kernel. the host is an x86 kernel 2.6.12-rc4-skas3-v9-pre4 the guest is a kernel 2.6.12-rc4. GNU gdb 6.3.50.20050606-cvs, gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2) the problems are: 1) a pointer to a struct was not seen by the debugger: example sess

Re: [uml-user] debug a skas kernel..

2005-04-05 Thread marco ghidinelli
On Mon, Apr 04, 2005 at 07:46:33PM +0200, Blaisorblade wrote: > > CONFIG_PT_PROXY=y > Maybe you could try disabling this, and saying if it makes a difference. It's > the only piece of code which could hide such a bug, but still this code > shouldn't be running since it's for TT mode only. bingo.

Re: [uml-user] debug a skas kernel..

2005-04-04 Thread marco ghidinelli
On Mon, Apr 04, 2005 at 01:47:02PM -0400, Jeff Dike wrote: > On Mon, Apr 04, 2005 at 01:55:58PM +0200, marco ghidinelli wrote: > > Program received signal SIGTRAP, Trace/breakpoint trap. > > 0xa0010005 in _start () at proc_fs.h:159 > > 159 res

[uml-user] debug a skas kernel..

2005-04-04 Thread marco ghidinelli
hello, i'm trying to debug a kernel with the skas patches, but it doesn't work: the uml-kernel is a vanilla 2.6.11.6. the host kernel is a vanilla 2.6.11.6 with the -skas3-v8-rc5 patch. $ gdb linux GNU gdb 6.3-debian (gdb) r Starting program: /home/marcogh/linux-uml/linux Program received si