diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1996-11-29 18:36:42 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1996-11-29 18:36:42 +0000 |
commit | 3b92524aa90a61796e8822eb961452ca8368acdc (patch) | |
tree | 7b226c556ab1a9d7c542788dba6dc68ef0cbb978 /byterun/fix_code.h | |
parent | 9f2a2427f8187c093657887dc1dde1fcfc70963e (diff) |
Ajout du support pour le debugger
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/fix_code.h')
-rw-r--r-- | byterun/fix_code.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/byterun/fix_code.h b/byterun/fix_code.h index c6ff34d27..b26f0fc71 100644 --- a/byterun/fix_code.h +++ b/byterun/fix_code.h @@ -11,7 +11,7 @@ /* $Id$ */ -/* Translate a block of bytecode (endianness switch, threading). */ +/* Handling of blocks of bytecode (endianness switch, threading). */ #ifndef _fix_code_ #define _fix_code_ @@ -21,12 +21,17 @@ #include "misc.h" #include "mlvalues.h" +extern code_t start_code; +extern asize_t code_size; +extern unsigned char * saved_code; #ifdef THREADED_CODE extern void ** instr_table; #endif +void load_code P((int fd, asize_t len)); void fixup_endianness P((code_t code, asize_t len)); void thread_code P((code_t code, asize_t len)); +void set_instruction P((code_t pos, opcode_t instr)); #endif |