From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16619 invoked by alias); 18 Jul 2006 15:24:13 -0000 Received: (qmail 16610 invoked by uid 22791); 18 Jul 2006 15:24:12 -0000 X-Spam-Check-By: sourceware.org Received: from aph.demon.co.uk (HELO zebedee.littlepinkcloud.COM) (80.177.99.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Jul 2006 15:24:09 +0000 Received: from zebedee.littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by zebedee.littlepinkcloud.COM (8.13.6/8.13.5) with ESMTP id k6IFO383003372; Tue, 18 Jul 2006 16:24:04 +0100 Received: (from aph@localhost) by zebedee.littlepinkcloud.COM (8.13.6/8.13.5/Submit) id k6IFO3Tm003369; Tue, 18 Jul 2006 16:24:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17596.64787.198441.885314@zebedee.pink> Date: Tue, 18 Jul 2006 16:07:00 -0000 From: Andrew Haley To: gdb@sourceware.org CC: java@gcc.gnu.org Subject: Weird gdb problem X-Mailer: VM 7.19 under Emacs 21.4.1 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00127.txt.bz2 I seem to have broken the debuginfo from gcj. When I step into a Java method I don't get info about args passed to methods. But this is only for debuginfo compiled into libgcj -- when I compile a test case myself I get correct args displayed. As in this one, where I step into p.p(), the argument "this" is displayed: (gdb) s p.p() (this=@2aaaad588e30) at Hello.java:7 (gdb) 0x00002aaaac057820 in java.lang.Object.Object() () at /mnt/zebedee/aph/gcc/gcj-eclipse/libjava/java/lang/Object.java:360 Note that the first step gave the value of the "this" argument, and the second one (in libgcj) didn't. Continuing: (gdb) java.io.PrintStream.println(java.lang.String)void () at /mnt/zebedee/aph/gcc/gcj-eclipse/libjava/java/io/PrintStream.java:482 (gdb) info args No arguments. So, to recap: I get values of args to methods displayed in gdb, but only when I compile test cases. When stepping into libgcj itself, the values of args aren't displayed. So ... might anyone in gdb land like to guess how this might have broken? TVM, Andrew.