added debugger eval (globals and registers)
@@ -65,8 +65,14 @@ static void hl_debug_loop( hl_module *m ) {
send(&m->jit_code,sizeof(void*));
send(&m->codesize,4);
send(&m->code->types,sizeof(void*));
- send(&m->code->nfunctions,4);
+ for(i=1;i<=HBYTES;i++) {
+ hl_type t = {(hl_type_kind)i};
+ int k = 1 + hl_pad_struct(1,&t);
+ send(&k,4);
+ }
+
+ send(&m->code->nfunctions,4);
for(i=0;i<m->code->nfunctions;i++) {
hl_function *f = m->code->functions + i;
hl_debug_infos *d = m->jit_debug + i;
