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 2/4] Thread language through c_type_print_args


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> Currently dwarf2read.c will pass the CU's language to
Tom> c_type_print_args -- but this doesn't affect all aspects of type
Tom> printing, because some code in c-typeprint.c refers to
Tom> current_language.

Tom> This patch threads the language through more of the type printing
Tom> code, adding an overload to c_type_print.  Some uses of
Tom> current_language remain, but now they are only in top-level functions.

Today I was wondering whether it would be better to put the language
into the type_print_options.  So, I think that is something to consider
during review.

Tom


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