bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hurd/utils/rpctrace.c - print RPC names as well as the ID


From: Roland McGrath
Subject: Re: hurd/utils/rpctrace.c - print RPC names as well as the ID
Date: Tue, 29 Jan 2002 05:30:41 -0500 (EST)

Thanks for working on this.

I rewrote your changes to make some better use of convenient library
functions, and to parse the RPC number list format produced by the -list
option to mig.  (I added that option to mig in version 1.2 last year after
previous discussions about this.)  I've checked in my changes to CVS after
verifying that rpctrace compiles ok, but I hope you can test it for me.

You can use "mig -n -list foo.list foo.defs" to generate a list of RPC
names and message ID numbers in foo.list from the RPCs in foo.defs.

We should add something to the Hurd build procedure to create one or more
such files to be installed, and then rpctrace can look for those files by
default (similar to your code).  For now, I've just added the command line
option `-I FILE' or `--rpc-list=FILE' with no default files used.

Please test my changes, and by all means continue to work on other rpctrace
improvements.  (I can take care of the build stuff for producing standard
RPC lists sometime soon.)


Thanks,
Roland



reply via email to

[Prev in Thread] Current Thread [Next in Thread]