[patch 1/2] Recognize DFP types in casts.

Daniel Jacobowitz drow@false.org
Thu Dec 20 15:24:00 GMT 2007

On Thu, Dec 20, 2007 at 03:49:27AM -0200, Thiago Jung Bauermann wrote:
> This should logically be part of the next patch, but the C parser is
> scary code and I don't feel very confident that this is indeed the
> right way to do it. It works, though, and introduces no regressions.

Do you need parser changes for this?  "unsigned" is a C keyword, and a
bit special (e.g. in combinations with "int"); but doesn't _Decimal32
act syntactically like a TYPENAME?

Try following language_lookup_primitive_type_by_name around to
c_language_arch_info (and cplus_language_arch_info).

Daniel Jacobowitz

More information about the Gdb-patches mailing list