Re: [uml-devel] Cannot debug UML

From: Blaisorblade
Date: Wed Mar 22 2006 - 10:38:08 EST


On Wednesday 22 March 2006 15:13, Mikado wrote:
> Stefano Melchior wrote:
> > On Wed, Mar 22, 2006 at 08:32:48PM +0700, Mikado wrote:
> > Hi Mikado,

> Debugging UML requires running it under TT mode. Normally I run UML
> under SKAS mode, everything is OK. I cannot get into GDB under SKAS mode
> whenever I use 'debug' option.

debug is an ugly trick for TT-only.

For SKAS mode use the normal debug sequence:

$ gdb vmlinux
(gdb) <set breakpoints, do what you want>
(gdb) run <params>

More info at the "debugging UML" link, "SKAS" subsection on the main site.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade




___________________________________
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
http://it.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/