lkml.org 
[lkml]   [2002]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: uml-patch-2.5.49-1
Date
From
adilger@clusterfs.com said:
> How does GDB now distinguish between UML processes? Previously, with
> GDB and UML one would "det; att <host pid>" to trace another process.
> Will there be equivalent functionality in the new setup?

It now doesn't. What I'm considering is some function you can call from
gdb which would longjmp to the stack that you want to look at and execute
a breakpoint (or maybe just hit a breakpoint that was put there earlier).

That should give you equivalent functionality to the current det/att.

> Will SMP UML "just" be a matter of forking the host process and
> sharing the /proc/mm file descriptors, along with a UML SMP scheduler
> and some IPC to decide which host process is running each UML process?

Pretty much. It's basically the same as SMP in tt mode, except that starting
the idle threads will be slightly different.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.037 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site