Making GDB recognize the Haskell DWARF source language ID

Johan Tibell
Fri Feb 28 15:47:00 GMT 2014


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?


More information about the Gdb mailing list