The GNU Modula-2 front end to GCC

gm2-libs/gdbif

DEFINITION MODULE gdbif ;

(*
    Description: provides a set of interfaces which enable interactive connectivity with gdb.
*)

EXPORT UNQUALIFIED sleepSpin, finishSpin, connectSpin ;


(*
   finishSpin - sets boolean mustWait to FALSE.
*)


PROCEDURE finishSpin ;


(*
   sleepSpin - waits for the boolean variable mustWait to become FALSE.
               It sleeps for a second between each test of the variable.
*)


PROCEDURE sleepSpin ;


(*
   connectSpin - breakpoint placeholder.  Its only purpose is to allow users
                 to set a breakpoint.  This procedure is called once
                 sleepSpin is released from its spin (via a call from
                 finishSpin).
*)


PROCEDURE connectSpin ;


END gdbif.