This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Enhanced language support for Modula-2
On 21 Feb 2006 10:24:46 +0000, Gaius Mulley <gaius@glam.ac.uk> wrote:
> here is a reworking of my patch which includes a new version of the
> set reading code in gdb/dwarf2read.c. Also contained is a patch to
> gdb/doc/gdb.texinfo reflecting the enhancements to the Modula-2 mode.
Okay. That solves that problem. :)
I'm a little concerned about the change to dwarf2read.c where you
create a TYPE_CODE_CHAR type for DW_ATE_signed_char and
DW_ATE_unsigned_char. GDB uses TYPE_CODE_INT for C 'char' types. I
have vague memories of something going wrong with printing or
evaluation or something if you actually use TYPE_CODE_CHAR, and after
discussion deciding to stick with TYPE_CODE_INT.
But this patch causes no test suite regressions?