This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Making GDB recognize the Haskell DWARF source language ID
- From: Johan Tibell <johan dot tibell at gmail dot com>
- To: gdb <gdb at sourceware dot org>, Peter Wortmann <scpmw at leeds dot ac dot uk>
- Date: Fri, 28 Feb 2014 16:47:09 +0100
- Subject: Making GDB recognize the Haskell DWARF source language ID
- Authentication-results: sourceware.org; auth=none
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