Making GDB recognize the Haskell DWARF source language ID

Johan Tibell
2014-02-28T15:47:34Z

Hi,

We recently added DWARF output support to GHC, the main Haskell
compiler. However, GDB doesn't seem to respect the function names we
output as DWARF debug info and instead falls back to the symbol names.
My understanding is that this is due to the DWARF source language ID
we emit isn't recognized by GDB. Is this correct and, if so, how do we
remedy the situation?

Cheers,
Johan