Re: [RFC] Partial support for dwarf3 DW_AT_ranges

Daniel Jacobowitz
2003-01-30T01:52:38Z

On Wed, Jan 29, 2003 at 08:06:45PM -0500, Elena Zannoni wrote:
> Daniel Jacobowitz writes:
> > On Wed, Jan 29, 2003 at 01:13:36PM -0500, Elena Zannoni wrote:
> > > If you have time, I'd appreciate it. I have adapted the patch to the
> > > current sources, but even with it, I wasn't able to make Jakub's
> > > example work. The example is in PR 833.
> > > I can send you the diffs I have, if it helps.
> >
> > This is pretty similar to what you sent me, cleaned up a little to
> > match my reading of the standard. It works to fix my testcase for PR
> > gdb/961, which is a simpler case of disappearing local variables.
> > I'll submit that for the testsuite separately but I don't know quite
> > how to do it yet; the problem is not going to show up if you don't have
> > optimization.
> >
>
> cool! i think there is a testcase in gdb.base somewhere that turns
> optimization up to -O2, so you could copy that (mips-pro.exp and
> break.exp), if this is what you are asking.
>
> > This doesn't solve PR gdb/833, for the reasons outlined in my previous
> > message.
> >
> > How does this patch look?
> >
>
> ok with me.
>
> thanks!!

It's checked in. Onwards - I may try to dig up my notes from the last
discussion about discontiguous address ranges, if I have time.

--
Daniel Jacobowitz