From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9319 invoked by alias); 22 Nov 2002 01:38:00 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9307 invoked from network); 22 Nov 2002 01:37:59 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 22 Nov 2002 01:37:59 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D7AFE3E66; Thu, 21 Nov 2002 20:37:52 -0500 (EST) Message-ID: <3DDD8A70.2010805@redhat.com> Date: Thu, 21 Nov 2002 17:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney , gdb@sources.redhat.com Cc: Daniel Jacobowitz Subject: Re: [Fwd: Re: gdb/725: Crash using debug target and regcaches (in 5.3 branch?)] References: <3DDD6150.10407@redhat.com> <20021122001447.GA7884@nevyn.them.org> <3DDD7D8E.2010407@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00322.txt.bz2 In fact: cagney@torrens$ grep ptrace gdb.strace | wc -l 5236211 cagney@torrens$ grep PTRACE_PEEKUSER gdb.strace | wc -l 162 cagney@torrens$ grep PTRACE_CONT gdb.strace | wc -l 610 cagney@torrens$ grep SIGSTOP gdb.strace | grep kill | wc -l 515 But, get this: cagney@torrens$ grep PTRACE_PEEKTEXT gdb.strace | wc -l 5231130 so, until the PEEKTEXT is eliminated, it won't make any difference. -- Plucking a ``random'' memory location out of thin air: cagney@torrens$ grep 0x40040ea0 gdb.strace | grep ptrace | wc -l 7038 cagney@torrens$ expr 7038 \* 250 1759500 (I think its a buffer that thread db needs - the buffer is read 7000 times when the target only does ~160 continues (if that)). Andrew