1 (**************************************************************************)
2 (* *)
3 (* OCaml *)
4 (* *)
5 (* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
6 (* OCaml port by John Malecki and Xavier Leroy *)
7 (* *)
8 (* Copyright 1996 Institut National de Recherche en Informatique et *)
9 (* en Automatique. *)
10 (* *)
11 (* All rights reserved. This file is distributed under the terms of *)
12 (* the GNU Lesser General Public License version 2.1, with the *)
13 (* special exception on linking described in the file LICENSE. *)
14 (* *)
15 (**************************************************************************)
16
17 type expression =
18 E_ident of Longident.t (* x or Mod.x *)
19 | E_name of int (* $xxx *)
20 | E_item of expression * int (* x.1 x.[2] x.(3) *)
21 | E_field of expression * string (* x.lbl !x *)
22 | E_result
23
24 type break_arg =
25 BA_none (* break *)
26 | BA_pc of Debugcom.pc (* break FRAG PC *)
27 | BA_function of expression (* break FUNCTION *)
28 | BA_pos1 of Longident.t option * int * int option
29 (* break @ [MODULE] LINE [POS] *)
30 | BA_pos2 of Longident.t option * int (* break @ [MODULE] # OFFSET *)
31