This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: break jmisc.main
- From: Tom Tromey <tromey at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: David Carlton <carlton at math dot stanford dot edu>, gdb <gdb at sources dot redhat dot com>, Michael Elizabeth Chastain <mec at shout dot net>
- Date: 13 Mar 2003 15:58:18 -0700
- Subject: Re: break jmisc.main
- References: <ro1el5bknmg.fsf@jackfruit.Stanford.EDU><20030313205639.GA18052@nevyn.them.org>
- Reply-to: tromey at redhat dot com
>>>>> "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