On 07/12, Roland McGrath wrote: > > > Please see the attachment. Don't take this code seriously, this is > > the early prototype and everything should be rewritten. It barely > > uses utrace, only to stop the target. > > You've got to start somewhere!
Yes ;) And now I am going to rewrite this code without adding the new functionality (this shouldn't take much time, hopefully today). I greatly misunderstood how should this stub communicate with gdb when I started the coding, struct cbuf is absolutely ugly. > > I still can't understand what utrace_xxx_pid() buys us, and I still > > think that utrace_prepare_examine() can't protect the task even for > > regset calls. > > Please start a separate thread here about each of those issues. The > first one is fairly simple, but what that means in practice depends on > the resolution of the second question, which is a more complex subject. Yes. Oleg.