This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] Recognize DFP types in casts.
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
CodeSourcery