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: [RFA] Fix gdb segv in dw2_find_pc_sect_symtab


On 05/25/2012 08:39 AM, Doug Evans wrote:

> Hi.
> 
> While testing my search_symbols speedup patch I hit a gdb segv,
> and traced it to the fact that addresses of minsyms can appear
> in psymtabs_addrmap but not appear in the symtab blockvectors.


When can this happen?

> 
> This patch fixes this by using the symtab found from
> psymtabs_addrmap if a symtab isn't found in the blockvectors.
> 
> Ok to check in?



-- 
Pedro Alves


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