From owner-freebsd-current Tue Sep 18 0:23:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id CD0B737B409 for ; Tue, 18 Sep 2001 00:23:10 -0700 (PDT) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id f8I7MnG03228; Tue, 18 Sep 2001 09:22:49 +0200 Received: (nullmailer pid 8180 invoked by uid 1000); Tue, 18 Sep 2001 07:22:48 -0000 Date: Tue, 18 Sep 2001 09:22:48 +0200 From: Mark Santcroos To: peter@wemm.org Cc: current@FreeBSD.ORG Subject: Re: gdb(1) broken? Message-ID: <20010918092248.A666@laptop.6bone.nl> References: <20010916101828.B455@dhcp01.pn.xcllnt.net> <3BA4EE76.2AED07FA@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BA4EE76.2AED07FA@elischer.org>; from julian@elischer.org on Sun, Sep 16, 2001 at 11:24:54AM -0700 X-Handles: MS6-6BONE, MS18417-RIPE 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 Hi Peter, What is the state of this (for i386)? Mark On Sun, Sep 16, 2001 at 11:24:54AM -0700, Julian Elischer wrote: > 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 -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message