This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/dwarf2] Fix name of include psymtabs, avoid duplicates
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 8 Mar 2005 22:11:21 -0800
- Subject: Re: [RFA/dwarf2] Fix name of include psymtabs, avoid duplicates
- References: <20041017010238.GD20779@gnat.com> <20041101194801.GI27334@gnat.com> <16810.33907.717155.200928@localhost.redhat.com> <20041201033119.GJ1204@adacore.com>
> > > > 2004-10-16 Joel Brobecker <brobecker@gnat.com>
> > > >
> > > > * dwarf2read.c (dwarf_decode_lines): Use the complete filename
> > > > when creating include psymtabs.
> > > >
> > > > Tested on x86-linux, no regression.
> > > > OK to apply?
> >
> > Yes, after you add the test, which should fail before and pass after
> > your patch.
>
> I'll see what I can come up with, and commit the patch once a testcase
> for it has been added.
I have finally checked this patch in. The testcase I added can be found
at http://sources.redhat.com/ml/gdb-patches/2005-03/msg00139.html.
(the name of the testcase is gdb.dwarf2/dup-psym.exp).
--
Joel