better debug fo the booting parts

This commit is contained in:
Torsten Ruger 2014-10-07 15:34:43 +03:00
parent c10ef20622
commit 30a982be0e

View File

@ -30,6 +30,10 @@ module Elf
end
end
end
space.main.blocks.each do |b|
add_symbol "main@#{b.name}" , b.position
end
add_symbol "#register@#{space.init.name}" , space.init.position
assembler.objects.values.each do |slot|
label = "#{slot.class.name}::#{slot.position.to_s(16)}"
label += "=#{slot}" if slot.is_a?(Symbol) or slot.is_a?(String)