> > + if (pdi->is_external) > > + list = &objfile->global_psymbols; > > + else > > + list = &objfile->global_psymbols; > > Are these supposed to be different? Duh, yes! It doesn't have any impact, because I don't think we can get there with a non-global symbol, but I added this support just in case I was wrong. I'm testing the attached patch. Thanks for spotting this! -- Joel