Suspicious line in ada-lang.c

Daniel Jacobowitz drow@mvista.com
Sun Sep 29 17:35:00 GMT 2002


I noticed this today:
      TYPE_LENGTH (rtype) += TYPE_LENGTH (branch_type);
      -TYPE_LENGTH (TYPE_FIELD_TYPE (type, nfields - 1));

Extra semicolon maybe?

I've also confirmed my impression that ada-lang (and jv-lang to a lesser
degree) know too much about types.  They eventually should be cleaned up to
use methods from gdbtypes.c - probably many of the methods they need don't
exist, but still.  The same thing is somewhat true of the symbol readers. 
Modifying the type structure right now is a real chore.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list