Robert Dockins wrote:
Can you give some more details about the problem? Can you provide a small hbc file that causes the problem for you?
OS: Windows XP SP2
architecture: x64 (in x86 compatibility mode)
I'm using the pre-built version of yhc; I didn't build it myself. The minor version of the hbc file is 0x0A.


test.hs:
main = print (3 + f 2)
f x = x
G:\projects\debugger>yhc test.hs

Compiling Main             ( test.hs )


inspect.hs:
import Yhc.Bytecode.Version_1_9

main =
(readFile "g:\\projects\\debugger\\Main.hbc") >>= readLogicalModule >>= print
G:\projects\debugger\yhc-bytecode-0.2-source\src\Yhc\Bytecode>yhc inspect.hs

Compiling Main             ( inspect.hs )

G:\projects\debugger\yhc-bytecode-0.2-source\src\Yhc\Bytecode>yhi Main.hbc

Bad version

I've attached the hbc file which could not be disassembled.
I'm sorry if I did something stupid, and for not reporting this directly to Robert.
Thanks for your time.

--
Kartik Vaddadi.

Home:                   www.cse.iitb.ac.in/~kart
Blogs:                  kartik-log.blogspot.com, kartik-rlog.blogspot.com
Alternate mail ID:      [EMAIL PROTECTED]

"50% Reservation, 100% Politics" - Protest the Indian government's decision to 
increase reservation in private educational institutions (yfemumbai.blogspot.com)

Attachment: Main.hbc
Description: Binary data

_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

Reply via email to