[PATCH v3 0/1] Don't rewind PC for GHC generated frames

Yao Qi qiyaoltc@gmail.com
Mon Feb 12 13:50:00 GMT 2018


On Sun, Feb 4, 2018 at 12:06 AM, Bartosz Nitka <niteria@gmail.com> wrote:
> As a side note, Haskell code can be pretty dense and a lot
> of functionality can fit on one line. GHC already puts column
> numbers in the debugging information, but from what I can tell
> GDB doesn't expose that in any way.
> Would that be a worthwhile addition to GDB?

If what you meant is DW_LNS_set_column, then, other compilers
also generates it, and GDB doesn't use it.  Maybe, GDB can use
it in TUI mode, to blink on the right line and column, or GDB tells
MI front ends the column number so they can highlight accordingly.
What do you want to add to GDB?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list