
17 Nov
2008
17 Nov
'08
8 a.m.
Colin Paul Adams wrote:
"Ian" == Ian Lynagh
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