From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28447 invoked by alias); 9 Sep 2008 23:39:39 -0000 Received: (qmail 28438 invoked by uid 22791); 9 Sep 2008 23:39:39 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Sep 2008 23:39:04 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m89NcRgp015460 for ; Tue, 9 Sep 2008 19:38:47 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m89NcGoR007996 for ; Tue, 9 Sep 2008 19:38:16 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m89NcD0X024135 for ; Tue, 9 Sep 2008 19:38:15 -0400 Message-ID: <48C708E5.1050006@redhat.com> Date: Tue, 09 Sep 2008 23:39:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Some java questions References: <48C6D1DF.3060705@redhat.com> <48C6D1DF.3060705@redhat.com> <20080909213028.GA16584@caradoc.them.org> In-Reply-To: <20080909213028.GA16584@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00060.txt.bz2 Daniel Jacobowitz wrote: >> At long last, my question is: Is gdb supposed to be able to do something >> with "jmisc.main(java.lang.String[])void", i.e. is it considered valid >> "input" to break, print, and other commands? > > As long as it appears in the mangling - and gcj is going to continue > emitting DW_AT_MIPS_linkage_name, which I expect it will - I think it > ought to work. Particularly with single quotes around it, as > jmisc.exp uses. After reading Tom's note, things make some sense. I don't like it much, but, well, that's the way it is. I'm glad I don't have to use gdb with Java any more! I will fix the failing test case as it is. I'll revisit how this all *should* work when (or if) I attempt to eradicate MIPS_linkage_name altogether. Keith