summaryrefslogtreecommitdiff
path: root/byterun/debugger.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez@inria.fr>2017-08-31 15:25:15 +0200
committerDamien Doligez <damien.doligez@gmail.com>2017-09-15 18:24:36 +0200
commitf086eda9c075eda0d2fcd74183c019c4515a6c28 (patch)
tree84985a120cf715ccb40e170d8db2bea1f528218d /byterun/debugger.c
parentcd3dbe79be441c35b063f440316088559400b480 (diff)
downloadocaml-f086eda9c075eda0d2fcd74183c019c4515a6c28.tar.gz
add -no-flat-float-array configure option
Diffstat (limited to 'byterun/debugger.c')
-rw-r--r--byterun/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/debugger.c b/byterun/debugger.c
index 8cf3025855..a11939b31c 100644
--- a/byterun/debugger.c
+++ b/byterun/debugger.c
@@ -411,7 +411,7 @@ void caml_debugger(enum event_kind event)
caml_putch(dbg_out, 0);
putval(dbg_out, Field(val, i));
} else {
- double d = Double_field(val, i);
+ double d = Double_flat_field(val, i);
caml_putch(dbg_out, 1);
caml_really_putblock(dbg_out, (char *) &d, 8);
}