On Tuesday 08 March 2005 17:13, Rob Landley wrote:
> On Tuesday 08 March 2005 02:45 am, [EMAIL PROTECTED] wrote:
> > hello everyone:
> >
> > I am a new coder of embed linux app development .I use "User Mode Linux "
> > as host stimulator environment where our applications running  .now I
> > have a big problem !
> > I debug my code which are some processes/threads living in UML with gdb .
> > First, I make a break point on a process living in UML .Once I touch the
> > break point (this process/thread will be suspended)---BUT,other
> > process/thread are still in normal status .Soon ,these process/threads
> > will be suspended one after another because they are  waiting the
> > feedback come from the process/thread which are bing debugged
> > .Unfortunately,when I continue the process/threads, the process/thread
> > can't return to the orginial status because other processes /threads are
> > in error status (time out etc.)
> > How to "freeze" the whole "user mode linux" --all processes/threads in
> > "UML"and "UML" kernel even "UML" system timer!!!
> > and, how to recover it???
uml_mconsole <the umid of the instance>

To suspend a UML instance, at the prompt use "stop" and "go". I'm not at all 
sure you can gdb the UML instance meanwhile... but especially it will suspend 
any I/O you can do, and I think every process inside the UML instance, 
including gdb.

> Does swsusp work under UML? :)
Maybe, Nigel Cunningham, the developer of Swsusp 2 come by sometimes on this 
list.

For swsusp, I don't know at all what would be needed.
In the archives there was also an announce for a separate project for UML only 
to implement suspending in a UML-specific way (it was meaningful, but I don't 
remember about it, even because they wanted to run their own mainling list).
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to