This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: DW_FORM_ref_addr dosn't work
On Wed, Jul 30, 2003 at 02:52:27PM -0700, H. J. Lu wrote:
> On Wed, Jul 30, 2003 at 05:45:03PM -0400, Daniel Jacobowitz wrote:
> > On Wed, Jul 30, 2003 at 02:42:52PM -0700, H. J. Lu wrote:
> > > DW_FORM_ref_addr can reference an entry in a different compilation
> > > unit, even from a different shared object. But die_ref_table only
> > > contains DIEs in one single compilation unit. Why do we do that? What
> > > is the best way to fix it?
> > >
> > > BTW, I am enclosing my quick dirty hack for reference.
> >
> > Please read any of the thirty-some discussions of this in the list
> > archives.
> >
> > I'm working on it in my spare time, of which I have not had enough to
> > make much progress. The DWARF reader needs to be essentially
> > rewritten.
>
> While waiting for your new DWARF reader, I will see how my hack
> goes :-(.
Since the die table is hashed by offset (isn't it?), presumably very
badly.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer