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/3] Move filename extensions into language_defn


Tom Tromey <tom@tromey.com> writes:

> This moves filename extensions from a function in symfile.c out to
> each language_defn.  I think this is an improvement because it means
> less digging around when writing a new language port.

Patch is good to me.  Note that we can improve it further by moving
language related stuff out of symfile.c to language.c.  Then, we can
remove filename_language_table in symfile.c, and use array languages in
language.c as a replacement.

-- 
Yao (éå)


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