This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Don't trim addresses in Dwarf debug info
Jim Blandy wrote:
>
> > > I've committed this:
> > >
> > > 2000-03-27 Jim Blandy <jimb@redhat.com>
> > >
> > > * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
> > > Don't include "bfd-elf.h".
> > > (address_significant_size): Delete variable.
> > > (dwarf2_build_psymtabs_hard): Don't set it, or check for
> > > consistency between it and the Dwarf 2 compilation unit header
> > > address size.
> > > (read_address): Don't mask off bits above
> > > address_significant_size.
> > > * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
> > > (elf_bfd_h): Remove variable; it's no longer used.
> >
> > Jim, have you confirmed this doesn't cause any regressions?
>
> It fixes problems for me, and it fixes the problems Stephane Carrez
> reported. It might possibly cause regressions on 64-bit hosts, but
> here's why I committed it anyway:
What specific problems was it causing you?
Andrew