Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MLODEBUG(3)		MBK PHYSICAL UTILITY FUNCTIONS		   MLODEBUG(3)

NAME
       mlodebug	- logical data structure contents debug	function

SYNOPSYS
       #include	"mlo.h"
       void mlodebug(headpointer, structurename)
       void *headpointer;
       char *structurename;

PARAMETER
       headpointer	   Pointer to a	structure to be	displayed

       structurename	   Name	of the structure to be explored

DESCRIPTION
       mlodebug	 allows	 a user	interactive visualisation of the internal con-
       tents of	the structural view of mbk.
       Through the use of a small, but convenient, textual user	 interface,  a
       step  by	 step exploration of each fields of the	data structure is made
       available.  However, if the structure is	big, it	may be painful to use.
       First of	all, the contents of the expected struture is displayed,  with
       its  fields  named as they appear in the	appropriate header file.  Then
       the user	is prompted by a `>>' for an input.
       The input may be	either a field name, or	a  predefined  symbol.	 Field
       names are to be typed the way they are displayed.
       Predefined symbols are:

       _exit		   that	quit the current debugging session.

       _up		   that	comes back to the previous structure.

       _top		   returns to the root of the function invocation.

       _stop		   puts	 kind  of a tag	at the current position	in the
			   structure.  It will be available later on to	return
			   to this position.

       _back		   returns to the previous _stop position.

       The debugger functions are easy to understand, so just try it!

EXAMPLE
       #include	"mlo.h"
       void scan_n1_y()
       {
	  getlofig("n1_y", 'A');
	  mlodebug(HEAD_LOFIG, "lofig");
       }

SEE ALSO
       mbk(1),	lofig(3),  locon(3),  loins(3),	 losig(3), lotrs(3), locap(3),
       lores(3), loself(3), mphdebug(3).

ASIM/LIP6			October	1, 1997			   MLODEBUG(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mlodebug&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help