From eccdd13dd3c812b8f0b3d046ef9d8738df00562a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 25 Sep 2013 21:45:38 +0200 Subject: IRC. --- hurd/debugging/rpctrace.mdwn | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'hurd/debugging/rpctrace.mdwn') diff --git a/hurd/debugging/rpctrace.mdwn b/hurd/debugging/rpctrace.mdwn index 1570df4c..d62a4387 100644 --- a/hurd/debugging/rpctrace.mdwn +++ b/hurd/debugging/rpctrace.mdwn @@ -16,6 +16,17 @@ doing. See `rpctrace --help` about how to use it. +# IRC, freenode, #hurd, 2013-07-29 + + about rpctrace, it poses as the kernel for its children, parses + and relays any messages sent over the childrens message port, right? + teythoon: rpctrace doesn't "poses as the kernel" + well, it's close enough + but it intercepts messages send by its children by handing them + a message port different from the one provided by the kernel, doesn't it? + yes + + # Issues and Patches [[!tag open_issue_hurd]] @@ -186,6 +197,34 @@ See `rpctrace --help` about how to use it. wish: make rpctrace decode the results of io_stat rpcs +* IRC, freenode, #hurd, 2013-07-29 + + imho rpctrace is kind of a mess right now :-/ we should move the + parsing code to a library + that would also be useful for valgrind, it should have to do + basically the same + +* IRC, freenode, #hurd, 2013-07-29 + + and I tried to rpctrace a subhurd, but rpctrace died on a + assertion failure, some msg had an unexpected type or something + rpctrace dies on select + and guess what, the boot tool does call select on the console it + emulates + that's a shame, that'd be really useful for me + it might not be hard to fix + but i've never looked into it :/ + i only saw that rpctrace expects the common RPC message types + and select is all but a common RPC + so the type of the messages involved is slightly different + and the assertion chokes on that + rpctrace.c is huge and hand written, it'd be nice if the parser + was created from the procedure definitions + and thinking of that, mig does exactly that, one would only need + some glue code + select is partially hand written + but it's a special case so that's ok + # See Also -- cgit v1.2.3