Information about MDB & CDB

Jerry Merlaine jom at belltec.UUCP
Thu Dec 1 09:52:15 AEST 1988


Well, the only MDB that I know of is a Streams Module DeBugger written
by one of our suppliers, Streamlined Networks (415-659-1450).

MDB allows you to write Streams modules in user mode, by simulating
the kernel environment that a Streams module expects to see.
You can run the module as a program, under sdb, and check out new
changes to it easily before compiling it in the kernel.

There is a 'trapdoor' module in the kernel that sends all Streams
messages it gets to your module, and everything your module emits
pops out of this trapdoor.  Thus, you can run your module in the
middle of a module I_PUSH/I_LINK lattice in the kernel, and run all 
your test programs.  You can do the first 90% of the developement 
cycle using MDB.  (The last 10% involves flow control strategies and 
interrupt latency, which can't be handled this way.)

Does this sound familiar?

Jerry O. Merlaine



More information about the Comp.sources.bugs mailing list