Re: uml-patch-2.5.49-1

Jeff Dike (jdike@karaya.com)
Tue, 26 Nov 2002 16:07:24 -0500


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/