This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [patch] Fix a buglet in elfread.c


> 2009-04-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
> 	* elfread.c (elf_symtab_read): Don't assume .data and .rodata
> 	are present.

Looks good to me. Please go ahead and apply.

I tested this patch on sparc-solaris 2.8 with -gstabs+, since this
seems to be related to stabs. I don't think we can really test
this part of the code with a GCC compiler, but perhaps it's is
still exercised throught the loading of some of the Solaris shared
libraries.  We did our best, and we had 2 pairs of eyes looking at it,
so it should be fine.

-- 
Joel


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