This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Rewriting the type system
Daniel Berlin <dan@cgsoftware.com> writes:
> While i'm redoing the type system, I was just about to ask a java
> person the following:
> in jv-lang.c, in java_array_type, it says "FIXME: This is bogus! Java
> arrays are not gdb arrays!".
>
> Could you please point me to where i can find out what java arrays
> *are*, so i can make a type structure for them (the new typesystem is
> a hierarchy of structs, rather than a single type struct. This means
> whatever java arrays *are*, can easily be represented and handled,
> with no fuss or muss).
If you plan to submit a large, pervasive change for GDB, you will want
to first explaing your change in detail on gdb@sources.redhat.com.
The people who will approve or reject your patch read that list, and
will almost certainly have some comments on the design. By making
sure the fundamental design of your change meets their requirements
*before* you invest the time to turn your ideas into a patch, you may
avoid having to rewrite the change from scratch.