DWARF return arity fixen
authorAndy Wingo <wingo@pobox.com>
Sun, 27 Oct 2013 19:59:50 +0000 (20:59 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 29 Oct 2013 21:53:46 +0000 (22:53 +0100)
* module/system/vm/dwarf.scm (read-die-abbrev): Fix return arity.
  (read-compilation-unit): Fix return arity of read-die.

module/system/vm/dwarf.scm

index da730a6..c545665 100644 (file)
     (values (cond ((zero? code) #f)
                   ((vector-ref (ctx-abbrevs ctx) code))
                   (else (error "unknown abbrev" ctx code)))
-            pos
-            #f pos)))
+            pos)))
 
 (define (read-die ctx offset)
   (let*-values (((abbrev pos) (read-die-abbrev ctx offset)))
                 ((addrsize pos) (read-u8 ctx pos))
                 ((ctx) (make-compilation-unit-context ctx offset-size addrsize
                                                       av start len))
-                ((die) (read-die ctx pos)))
+                ((die pos) (read-die ctx pos)))
     (populate-context-tree! die)
     (values die (ctx-end ctx))))