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]

Re: break jmisc.main


>>>>> "Daniel" == Daniel Jacobowitz <drow at mvista dot com> writes:

Daniel>  - transform between the Java and C++ demanglings.  Converting from the
Daniel> C++ output to the Java output looks doable, although exceedingly
Daniel> annoying:
Daniel>     - different names for some types (bool vs boolean, char vs wchar_t)
Daniel>     - All '*' characters are removed
Daniel>     - JArray<TYPE> becomes TYPE[].
Daniel>   (That's an exhaustive list.)

You also convert `::' to `.'.

Daniel>   Going the other way, Java -> C++, would probably be impossible
Daniel>   because of the removed '*'s.

In Java there are only a small number of primitive types, and
references.  If it isn't a primitive type, it is a reference and you
add a `*'.  So I think it should be possible.

Tom


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