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 *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $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
|
|
|
|
|
1997-03-27 13:08:43 -08:00
|
|
|
(* Return event at given PC, or raise Not_found *)
|
|
|
|
(* Can also return pseudo-event at beginning of functions *)
|
|
|
|
val any_event_at_pc : int -> Instruct.debug_event
|
|
|
|
|
1997-02-19 08:09:23 -08:00
|
|
|
(* 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
|
1998-11-12 06:51:27 -08:00
|
|
|
(* Set event at given PC *)
|
|
|
|
val set_event_at_pc : int -> unit
|
1997-02-19 08:09:23 -08:00
|
|
|
|
|
|
|
(* List the events in `module'. *)
|
1997-03-30 11:43:47 -08:00
|
|
|
val events_in_module : string -> Instruct.debug_event list
|
1997-02-19 08:09:23 -08:00
|
|
|
|
|
|
|
(* 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
|
|
|
|
|