* [uml-devel] debug uml
@ 2006-05-18 15:50 Nikola Knezevic
2006-05-21 15:23 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: Nikola Knezevic @ 2006-05-18 15:50 UTC (permalink / raw)
To: user-mode-linux-devel
Hi all,
any solutions how to debug uml while it is booting?
I can trace it to process.c:start_userspace and a call to clone. After
that, I can't do anything, until I send HUP from another console,
which is a bit slow.
Any suggestions?
Thanks.
Nikola
-------------------------------------------------------
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_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] debug uml
2006-05-18 15:50 [uml-devel] debug uml Nikola Knezevic
@ 2006-05-21 15:23 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2006-05-21 15:23 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Nikola Knezevic
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-21 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 15:50 [uml-devel] debug uml Nikola Knezevic
2006-05-21 15:23 ` Blaisorblade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox