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]
Other format: [Raw text]

Re: [RFC] Dont skip DW_TAG_member in load_partial_dies()


> This sounds like a case that's too complicated for the heuristics to
> handle.  I have a patch under test which implements a more thorough
> fallback when lookup in the hash table fails.  That allows the
> heuristics to be relatively quick, and work for the common case, but
> still support more complex cases like this one.

Sounds like a great idea. The reason we didn't submit our changes
was that we were also convinced that our solution was not the best
approach (we were concerned that we would end up scanning all the
symbols, and hence more or less defeating the purpose of partial
symbols). Your solution addresses these concerns very nicely.

-- 
Joel


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