From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Fix uninitialized section index internal error Date: Wed, 27 Jun 2001 21:05:00 -0000 Message-id: <3B3AAD1B.7080902@cygnus.com> References: <20010607150845.C24983@act-europe.fr> X-SW-Source: 2001-06/msg00444.html 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; > >