debug with GHC FFI?
Tue, 25 Feb 2003 21:49:00 +0800

I am using Green Card to make some FFI modules with GHC, but
sometimes it segfaults in the middle of nowhere, leaving
no sensible stack trace in gdb.

I wonder what is the proper way to debug FFI modules written
in C? Trying to add a "-g" flag doesn't seem help at all...