diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-02-19 16:08:57 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-02-19 16:08:57 +0000 |
commit | d84af9f1193a977f97b5f3f1d6ac5b1422e5fc1b (patch) | |
tree | d184390f2c81dafc64e755daee41cafe301393a0 /byterun/debugger.c | |
parent | 65b0dfc16c9d34219e617fddbd22c09a4b352ea5 (diff) |
getch -> getword dans REQ_GET_LOCAL et REQ_GET_ENVIRONMENT
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1280 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/debugger.c')
-rw-r--r-- | byterun/debugger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/debugger.c b/byterun/debugger.c index c01999ce2..237c24ef1 100644 --- a/byterun/debugger.c +++ b/byterun/debugger.c @@ -262,12 +262,12 @@ void debugger(event) trap_barrier = stack_high - i; break; case REQ_GET_LOCAL: - i = getch(dbg_in); + i = getword(dbg_in); putval(dbg_out, Locals(frame)[i]); flush(dbg_out); break; case REQ_GET_ENVIRONMENT: - i = getch(dbg_in); + i = getword(dbg_in); putval(dbg_out, Field(Env(frame), i)); flush(dbg_out); break; |