> Hello, > > The attached patch adds the function: > const struct builtin_type *builtin_type (gdbarch) > which returns an architecture specific table of types. It then modifies the d10v to use that method. > > To avoid the very long: > builtin_type (gdbarch)->builtin_type_char > and the uncompileable: > builtin_type (gdbarch)->char > I've added fprefixes to the type names. See gdbtypes.h for the list. > > Part #2..N consist of converting everthing to this. The language code could be fun. In preparing the next patch (to language) I found I could significantly trim this one back (removing all the language specific builtin types). The attached is what I committed, Andrew