This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Suspicious line in ada-lang.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]