This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] Fix uninitialized section index internal error


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;
>   
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]