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] choose symbol from given block's objfile first.


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> I did a second audit, and found that a lot of those uses were for
Joel> purposes other than symbol lookup (finding the symtab associated
Joel> a PC, for instance), so an update shouldn't be needed there.
[...]

Sounds good.  Thanks for looking.

Joel> There are also some locations where the loop is inside a routine
Joel> that does a lookup without "context".  For instance,
Joel> basic_lookup_transparent_type.  In that case, the only real caller
Joel> I could find was check_typedef, which I don't think we want to
Joel> change.

I'm not so sure.  It seems like you could make a multi-objfile test case
where an incomplete type is incorrectly resolved to a type in another
objfile.

Tom


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