Timpanogas Research Group (TRG), que distribuyen Merkey's LinuxWare (la distribución antes conocida como DR-LX de Lineo/Devicelogics), tienen unos fuentes que merecería la pena analizar con calma, al menos a tenor de los comentarios en su código.

/***************************************************************************
*
* Copyright (c) 1997, 1998 Jeffrey Vernon Merkey All Rights
* Reserved.
*
* This program is an unpublished work of TRG, Inc. and contains
* trade secrets and other proprietary information. Unauthorized
* use, copying, disclosure, or distribution of this file without the
* consent of TRG, Inc. can subject the offender to severe criminal
* and/or civil penalities.
*
*
* AUTHOR : Jeff V. Merkey
* FILE : DEBUG.C
* DESCRIP : Multi-Processing Debugger for MANOS v1.0
* DATE : December 28, 1997
*
*
***************************************************************************/

Realmente el archivo no es ya debug.c, sino ldebug.c (126 Kb. en formato C).