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: Bartosz Nitka <niteria at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Mon, 19 Feb 2018 13:27:04 +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> <CAH=s-PPFSafb123n2shgwQciRXO8rgUqoOszXyvMNYfP9R4aVA@mail.gmail.com> <CAOSxnRg+vkSvWw2gDzumpA5nrWSQgppQ1=kOvVeU_yYDpQWHwQ@mail.gmail.com> <CAH=s-PO4U2J5Y-pLwxDMkEtj_SxWuqwSY24=AAUamFEaK+snBw@mail.gmail.com>
Hi Yao,
Thanks for taking a look.
I agree that GHC should use DW_LNS_set_column and I will try to see
what I can do about that.
My understanding is that DW_TAG_ghc_src_note was introduced because we
don't get enough
fidelity with DW_LNS_set_column. I think it's because we have ranges
for expression locations, and
sometimes the start points overlap, but I'm a bit hazy on the details.
I want to try DW_LNS_set_column and see how far I get with that.
One thing I don't understand is why lldb seems to understand
DW_TAG_ghc_src_note. I need to investigate a bit more.
Thanks,
Bartosz