Colin Paul Adams wrote:
"Ian" == Ian Lynagh <[EMAIL PROTECTED]> writes:

    Ian> If you were lucky it would abort with an assertion
    Ian> failure. Anyway, gdb should now have debugging symbols to
    Ian> work with.

It already did (I passed the -g option to gcc).
I guess I will need to install the GHC source to get file
listings. That sounds like hard work. I think I'll wait for 6.10.1 .

If you're calling a Haskell library from C, the problem might be that you forgot hs_add_root(), or that your hs_add_root() isn't pointing to the right module (it should point to the module that transitively imports all the other modules in your library). You can use multiple hs_add_root() calls if necessary.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to