From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29776 invoked by alias); 6 Jun 2003 21:30:40 -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 29644 invoked from network); 6 Jun 2003 21:30:37 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 6 Jun 2003 21:30:37 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A583B2B5F; Fri, 6 Jun 2003 17:30:20 -0400 (EDT) Message-ID: <3EE107EC.6090001@redhat.com> Date: Fri, 06 Jun 2003 21:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alain Magloire Cc: gdb@sources.redhat.com Subject: Re: GCJ vs GDB References: <200305061506.LAA03696@node1.ott.qnx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00087.txt.bz2 > Bonjour > > Is this the right mailing list ? > > When debugging java code compiled with gcj > > java.lang.String value = "hello world"; > > > (gdb) p value > 0x11111 "hello world" > > > Doing this with GDB/MI > > -data-evaluate-expression value > > or the var object > > -var-evaluate-expression var1 > > > the answer is "0x1111" whithout the "hello world" > > > Is this PR material ? known behaviour ? Yes. No. (and weird)! Andrew