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 ptype problem printing typedefs defined differently in different compilation units


On 1/3/06, Fred Fish <fnf@specifix.com> wrote:
> The patch also adds a proposed fix for the problem, which is to look
> in the current source symtab for the name, before scanning all the
> symtabs.

The test looks good; please commit that.

I have some questions about the patch, though. 
get_current_source_symtab_and_line is a user-interface thing, and I'm
uncomfortable calling it from one of our fundamental lookup functions.
 Why isn't the right block being passed to lookup_symbol in the first
place?


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