From owner-freebsd-current Sun Sep 16 11:37:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id E7D9B37B40A for ; Sun, 16 Sep 2001 11:37:14 -0700 (PDT) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA11696; Sun, 16 Sep 2001 12:07:54 -0700 (PDT) Message-ID: <3BA4EE76.2AED07FA@elischer.org> Date: Sun, 16 Sep 2001 11:24:54 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Marcel Moolenaar Cc: current@FreeBSD.org Subject: Re: gdb(1) broken? References: <20010916101828.B455@dhcp01.pn.xcllnt.net> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marcel Moolenaar wrote: > > Gang, > > I don't know exactly what the gdb(1) problems on Alpha are, but we > do have a problem that's probably not specific to an architecture. > > The problem is basicly this: one cannot debug any programs because > gdb(1) gets a SIGTRAP delivered when it invokes ptrace(2) and never > gets a change to wait4(2) the "interior" process. > > I don't know the details, but one of the following can be the case > 1. We now deliver a SIGTRAP, when we didn't do so before, > 2. The SIGTRAP comes too quick, it should be "caught" by the wait4(2). > > I couldn't find any indication that 1 happened, so my guess is that > we suffer from 2. > > Is this known? > Any thoughts? peter has been working on this... It's because the process structure and u-area have changed entirely. > > -- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message