This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 0/1] Don't rewind PC for GHC generated frames
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Bartosz Nitka <niteria at gmail dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Mon, 12 Feb 2018 13:50:18 +0000
- Subject: Re: [PATCH v3 0/1] Don't rewind PC for GHC generated frames
- Authentication-results: sourceware.org; auth=none
- References: <20180204000647.19188-1-niteria@gmail.com>
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 (齐尧)