[patch/rfc] multi-arch gdbtypes #1 of N

Andrew Cagney cagney@gnu.org
Wed Jul 28 02:56:00 GMT 2004


> 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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040728/0a35ec73/attachment.ksh>


More information about the Gdb-patches mailing list