Making GDB recognize the Haskell DWARF source language ID
Johan Tibell <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAK-tuPb6LfiKYzqAjexraPPE0g4SqLN4XY55L=Ca6xGnTW+SuA@mail.gmail.com> |
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