From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Nikola Knezevic <laladelausanne@gmail.com>
Subject: Re: [uml-devel] debug uml
Date: Sun, 21 May 2006 17:23:34 +0200 [thread overview]
Message-ID: <200605211723.37942.blaisorblade@yahoo.it> (raw)
In-Reply-To: <5d8380130605180850i443dd0b7wf603fbe364ec1345@mail.gmail.com>
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
prev parent reply other threads:[~2006-05-21 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 15:50 [uml-devel] debug uml Nikola Knezevic
2006-05-21 15:23 ` Blaisorblade [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200605211723.37942.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=laladelausanne@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox