A couple of fixes when no source info is available
authorAndy Wingo <wingo@pobox.com>
Thu, 10 Oct 2013 10:21:55 +0000 (12:21 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 10 Oct 2013 10:22:20 +0000 (12:22 +0200)
commit6b71a7671355f22553f75e92b25e79d9bbca2154
tree53159d64e273e252f17ebbd8a1ceaebdbd2ea741
parent4a6d35197939e64720e4467b41cfe8ac0a917ec8
A couple of fixes when no source info is available

* module/system/vm/assembler.scm (link-debug): If there was no debugging
  info, reset the file register to 0 from its default value of 1 before
  adding the final row.

* module/system/vm/dwarf.scm (line-prog-scan-to-pc): If we rescanned
  from the beginning and still found no source info for this pc, return
  #f instead of the default value of the file register (1).
module/system/vm/assembler.scm
module/system/vm/dwarf.scm