mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Added a working set of notes
This commit is contained in:
parent
d8171527b9
commit
f350cc3c66
1 changed files with 28 additions and 0 deletions
28
eval-debugging.txt
Normal file
28
eval-debugging.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
tested with nothing checked out on cyclone-bootstrap
|
||||
used the (delay (force test case
|
||||
|
||||
eval.c:23791 lambda 19 - self_731184[1][0][2]
|
||||
|
||||
eval lambda 20 - k_73700
|
||||
p ((closureN)((closureN)((closureN)k_73700 )->elts[0]))->elts[2]
|
||||
|
||||
|
||||
(define (foldr func end lst)
|
||||
lst is bad in debugger:
|
||||
|
||||
(gdb) p *((list)lst_73538 )
|
||||
$56 = {hdr = {mark = 3221189204, grayed = 0 '\000'}, tag = -1073779712, cons_car = 0x8,
|
||||
cons_cdr = 0xbffdf7f0}
|
||||
|
||||
this is lambda_706 in base.c
|
||||
so... wtf?
|
||||
|
||||
(cdr exp) in wrapc seems corrupt - WTF?
|
||||
|
||||
(gdb) p *((list)((list)((closureN)self_731181)->elts[0])->cons_cdr)
|
||||
$67 = {hdr = {mark = 3221189204, grayed = 0 '\000'}, tag = -1073779712, cons_car = 0x8,
|
||||
cons_cdr = 0xbffdf7f0}
|
||||
|
||||
presumably the cdr is corrupt in eval-from-c as well? need to check that next
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue