From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10104 invoked by alias); 29 Nov 2006 15:15:00 -0000 Received: (qmail 10088 invoked by uid 22791); 29 Nov 2006 15:14:59 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Nov 2006 15:14:51 +0000 Received: (qmail 4441 invoked from network); 29 Nov 2006 15:14:50 -0000 Received: from unknown (HELO ?192.168.189.103?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 29 Nov 2006 15:14:50 -0000 Message-ID: <456DA3EA.5020001@codesourcery.com> Date: Wed, 29 Nov 2006 15:15:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sourceware.org Subject: Re: adjust linux-dp test References: <456DA000.6030908@codesourcery.com> <20061129150752.GW30862@caradoc.them.org> In-Reply-To: <20061129150752.GW30862@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00390.txt.bz2 Daniel Jacobowitz wrote: > On Wed, Nov 29, 2006 at 02:58:08PM +0000, Nathan Sidwell wrote: >> My recent change to linux-dp.exp wasn't robust because (a) some thread ids >> can be negative numbers and (b) sometimes you'd get a 'cannot access >> memory' error in printing out a prototype, and that would mess up the \n >> placement. > > When does (b) happen? That's strange. for example here ... info threads 3 Thread -1218434144 (LWP 2749) 0xffffe410 in __kernel_vsyscall () 2 Thread -1210037344 (LWP 2748) 0xffffe410 in __kernel_vsyscall () * 1 Thread -1210034512 (LWP 2745) main (argc=Cannot access memory at address 0x0 ) at ../../../src/gdb/testsuite/gdb.threads/linux-dp.c:189 nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk