On Thursday 18 May 2006 17:50, Nikola Knezevic wrote:
> Hi all,
> any solutions how to debug uml while it is booting?
> I can trace 

You mean single-step?

> it to process.c:start_userspace and a call to clone. After 
> that, I can't do anything,

Ah, you can't trace the cloned process... or maybe the main one!

> until I send HUP from another console, 
> which is a bit slow.

How that HUP works? I.e. you kill -HUP the main thread and you re-get control 
inside GDB?

> Any suggestions?
Put a pause() call where you want to stop and recompile. Jeff Dike usually 
does so to workaround gdb problems (breakpoints not working)

I'm re-reading your email now and I'm dubious - I often see that breakpoints 
work up to a certain point.

I.e. I set a breakpoint, start UML, it works up to a certain point, afterwards 
it doesn't any more, until I restop it (I use SIGINT but I now understand 
it's the same thing).

I guess GDB doesn't handle well some UML's calls.
-- 
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



-------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to