This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix uninitialized section index internal error
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA] Fix uninitialized section index internal error
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Thu, 28 Jun 2001 00:53:00 -0400
- Cc: Joel Brobecker <brobecker at act-europe dot fr>, gdb-patches at sources dot redhat dot com
- References: <20010607150845.C24983@act-europe.fr><3B3AAD1B.7080902@cygnus.com>
Actually, there have been a few more exchanges on this patch. (there
were 2 submissions). See other discussion, which also needs to be
resolved. Will do now.
http://sources.redhat.com/ml/gdb-patches/2001-06/msg00284.html
Elena
Andrew Cagney writes:
> Just FYI, I'm cleaning out my MBOX. I'm going to assume this patch is
> dead. If my memory is correct the symtab people are trying to eliminate
> knwledge about magic ``.bss'' sections, not clone it :-)
>
> Andrew
>
> > Index: gdb/symfile.c
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/symfile.c,v
> > retrieving revision 1.31
> > diff -c -3 -p -r1.31 symfile.c
> > *** symfile.c 2001/04/05 02:02:13 1.31
> > --- symfile.c 2001/05/10 19:41:39
> > *************** default_symfile_offsets (struct objfile
> > *** 529,534 ****
> > --- 529,536 ----
> > objfile->sect_index_data = sect->index;
> >
> > sect = bfd_get_section_by_name (objfile->obfd, ".bss");
> > + if (!sect)
> > + sect = bfd_get_section_by_name (objfile->obfd, ".sbss");
> > if (sect)
> > objfile->sect_index_bss = sect->index;
> >
> >
>
>