summaryrefslogtreecommitdiff
path: root/debugger/debugcom.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2000-03-26 12:11:10 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2000-03-26 12:11:10 +0000
commit87ece3497ea10bd4141994e99a079c0fec4defca (patch)
tree8b8cbbae629a873aa2b272f2593b6c5d2fe402ff /debugger/debugcom.ml
parent5c65f975b239b5442776ef2c1413888753f080fe (diff)
downloadocaml-87ece3497ea10bd4141994e99a079c0fec4defca.tar.gz
Affichage des exceptions, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2991 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'debugger/debugcom.ml')
-rw-r--r--debugger/debugcom.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/debugger/debugcom.ml b/debugger/debugcom.ml
index 3c56fd80ac..7f65275b4a 100644
--- a/debugger/debugcom.ml
+++ b/debugger/debugcom.ml
@@ -255,4 +255,11 @@ module Remote_value =
flush !conn.io_out;
input_binary_int !conn.io_in
+ let same rv1 rv2 =
+ match (rv1, rv2) with
+ (Local obj1, Local obj2) -> obj1 == obj2
+ | (Remote v1, Remote v2) -> v1 = v2
+ (* string equality -> equality of remote pointers *)
+ | (_, _) -> false
+
end