1996-11-29 08:55:09 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Objective Caml *)
|
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* Objective Caml port by John Malecki and Xavier Leroy *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
|
|
|
(* Modules used by the program. *)
|
|
|
|
val modules : string list ref
|
|
|
|
|
1997-02-19 08:09:23 -08:00
|
|
|
(* Read debugging info from executable file *)
|
1996-11-29 08:55:09 -08:00
|
|
|
val read_symbols : string -> unit
|
1997-02-19 08:09:23 -08:00
|
|
|
|
|
|
|
(* Flip "event" bit on all instructions *)
|
|
|
|
val set_all_events : unit -> unit
|
|
|
|
|
|
|
|
(* Return event at given PC, or raise Not_found *)
|
1996-11-29 08:55:09 -08:00
|
|
|
val event_at_pc : int -> Instruct.debug_event
|
1997-02-19 08:09:23 -08:00
|
|
|
|
|
|
|
(* List the events in `module'. *)
|
|
|
|
val events_in_module : string -> Instruct.debug_event array
|
|
|
|
|
|
|
|
(* First event after the given position. *)
|
|
|
|
(* --- Raise `Not_found' if no such event. *)
|
1996-11-29 08:55:09 -08:00
|
|
|
val event_at_pos : string -> int -> Instruct.debug_event
|
1997-02-19 08:09:23 -08:00
|
|
|
|
|
|
|
(* Closest event from given position. *)
|
|
|
|
(* --- Raise `Not_found' if no such event. *)
|
|
|
|
val event_near_pos : string -> int -> Instruct.debug_event
|
|
|
|
|