From owner-cvs-all@FreeBSD.ORG Wed Apr 11 20:46:20 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCF4316A406 for ; Wed, 11 Apr 2007 20:46:20 +0000 (UTC) (envelope-from ed.maste@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 6643013C45E for ; Wed, 11 Apr 2007 20:46:20 +0000 (UTC) (envelope-from ed.maste@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so233493wra for ; Wed, 11 Apr 2007 13:46:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T2miI7HQIWkBBFzB1mujk8ahB8kwxIpFoavEKwTaI5oebQfqzJT9d3ASxQFUmd11jQlK5WEa6auGUZ6HSJak11oC93Ef6OVxdacjzR5YckzbumDnkvvc4pEAZRkgAK+qR+wW5A5r/SlbxdV7ASbvqtEKTG90j43WdivAFgGDwj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FMXK1BMd04HUOkIOQZZhGz8LWAgBXzor+XDXfcGy2P9TCCmV5lVy7bI9KofHgKVcPkdg3Mt5AwXsuXDovCpiemTCwl4N0ESiDvZaz63V3h0uMhi0ehnGdtTBbudKuyrFoWs3sda/dLT6HbJf31HD2uZ1VL4qQRtc7crXacG6k/Y= Received: by 10.78.193.19 with SMTP id q19mr218094huf.1176324378944; Wed, 11 Apr 2007 13:46:18 -0700 (PDT) Received: by 10.78.188.7 with HTTP; Wed, 11 Apr 2007 13:46:18 -0700 (PDT) Message-ID: <88607eb20704111346q5c463b60w2547084231a11227@mail.gmail.com> Date: Wed, 11 Apr 2007 16:46:18 -0400 From: "Ed Maste" To: "Alfred Perlstein" In-Reply-To: <20070411195935.GA2382@elvis.mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704100403.l3A43ZnL057659@repoman.freebsd.org> <88607eb20704101217x4e3c81f9xf914f7da7714daf8@mail.gmail.com> <20070411195935.GA2382@elvis.mu.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Xin LI , cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/truss Makefile amd64-fbsd.c extern.h i386-fbsd.c i386-linux.c ia64-fbsd.c main.c powerpc-fbsd.c setup.c sparc64-fbsd.c syscall.h syscalls.c truss.1 truss.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 20:46:20 -0000 On 11/04/07, Alfred Perlstein wrote: > * Ed Maste [070410 12:47] wrote: > > This would make the -s option to gcore redundant (since the process > > will be stopped after attaching anyway). I don't know how useful a > > core from a non-stopped process is, anyhow. > > Very, very useful. > > Imagine a running program that's having some form of abnormal > behavior but can't be stopped (for long) or allowed to core... It's stopped for only as long as the core takes to be written. Currently, without the -s option the core produced by gcore is inconsistent, and it's that behaviour that would be eliminated with my change. Do you actually have a use for inconsistent core files? -ed