From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15115 invoked by alias); 13 Mar 2003 23:04:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15078 invoked from network); 13 Mar 2003 23:04:25 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 13 Mar 2003 23:04:25 -0000 Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id QAA02227; Thu, 13 Mar 2003 16:04:18 -0700 Received: by fleche.redhat.com (Postfix, from userid 1000) id 18DED4F863F; Thu, 13 Mar 2003 15:58:19 -0700 (MST) To: Daniel Jacobowitz Cc: David Carlton , gdb , Michael Elizabeth Chastain Subject: Re: break jmisc.main References: <20030313205639.GA18052@nevyn.them.org> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Hey!! Let's watch the' ELEVATOR go UP and DOWN at th' HILTON HOTEL!! Date: Thu, 13 Mar 2003 23:04:00 -0000 In-Reply-To: <20030313205639.GA18052@nevyn.them.org> Message-ID: <87of4eswl1.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00221.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz 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 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