From owner-freebsd-java Mon Feb 17 20:36:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 381A437B401 for ; Mon, 17 Feb 2003 20:36:41 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4633443FAF for ; Mon, 17 Feb 2003 20:36:40 -0800 (PST) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.6/8.12.6) with ESMTP id h1I4aWsp005914 for ; Mon, 17 Feb 2003 23:36:33 -0500 X-Received-From: brent@mutt.rcfile.org X-Delivered-To: X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.7/8.12.7) with ESMTP id h1I4aZL4000631 for ; Mon, 17 Feb 2003 23:36:35 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.7/8.12.7/Submit) id h1I4aZZQ000630 for freebsd-java@freebsd.org; Mon, 17 Feb 2003 23:36:35 -0500 (EST) Date: Mon, 17 Feb 2003 23:36:35 -0500 From: Brent Verner To: freebsd-java@freebsd.org Subject: how to debug jdk14 with gdb on -current Message-ID: <20030218043635.GA379@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.7-STABLE #0: Mon Feb 17 22:05:06 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all. I'm having no luck using the gdb on -current to run the jvm. What I get is: -bash-2.05b$ gdb /usr/local/jdk1.4.1-bsd/bin/java_g GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... (gdb) run Bind localhost Starting program: /usr/local/jdk1.4.1-bsd/bin/java_g Bind localhost Program received signal SIGTRAP, Trace/breakpoint trap. 0x28051260 in .rtld_start () from /usr/libexec/ld-elf.so.1 Error accessing memory address 0x28088bd0: Bad address. (gdb) Can someone help me out and tell me how to run the jvm under gdb (on -current)? thanks. brent -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message