diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2001-10-09 15:14:01 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2001-10-09 15:14:01 +0000 |
commit | 2f7123618c9c213a380033bdbdfc0d916dddd460 (patch) | |
tree | 1189318d488ee653e2cdbe92d00d258a1e5afff2 /byterun/debugger.c | |
parent | 48485d8d8a027f2411198a62c58111b64ac5245f (diff) |
Ajout de flush_all + modifs pour Cash (Bruno Verlyck)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3872 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 a030f6fd3..a9cfb2dfe 100644 --- a/byterun/debugger.c +++ b/byterun/debugger.c @@ -72,8 +72,8 @@ static void open_connection(void) if (dbg_socket == -1 || connect(dbg_socket, &sock_addr.s_gen, sock_addr_len) == -1) fatal_error("cannot connect to debugger"); - dbg_in = open_descriptor(dbg_socket); - dbg_out = open_descriptor(dbg_socket); + dbg_in = open_descriptor_in(dbg_socket); + dbg_out = open_descriptor_out(dbg_socket); if (!debugger_in_use) putword(dbg_out, -1); /* first connection */ putword(dbg_out, getpid()); flush(dbg_out); |