From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 20:54:28 2004 Return-Path: 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 9C84616A4CE for ; Wed, 8 Sep 2004 20:54:28 +0000 (GMT) Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.5.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 518A843D3F for ; Wed, 8 Sep 2004 20:54:28 +0000 (GMT) (envelope-from truk@optonline.net) Received: from focus (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta4.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0I3Q009TUQ2RSV@mta4.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Wed, 08 Sep 2004 16:54:27 -0400 (EDT) Date: Wed, 08 Sep 2004 16:54:31 -0400 From: Kurt Miller To: freebsd-java@freebsd.org Message-id: <033d01c495e6$09de3230$1d0110ac@focus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook Express 6.00.2800.1437 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal Subject: debugging 1.4 and execve X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 20:54:28 -0000 I'm working on the 1.4 port for OpenBSD and need to debug the jdk. gdb becomes mostly useless after an execve call in java_md.c 777 execve(newexec, argv, newenvp); (gdb) Program received signal SIGTRAP, Trace/breakpoint trap. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x019ef160 in ?? () (gdb) bt #0 0x03235160 in ?? () Does anyone have a suggestion on how to keep gdb working after the execve? Thanks, -Kurt