From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31931 invoked by alias); 16 Apr 2003 14:29:10 -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 31915 invoked from network); 16 Apr 2003 14:29:09 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 16 Apr 2003 14:29:09 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 195nuZ-0008EU-00; Wed, 16 Apr 2003 09:29:19 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 195nuM-0002WW-00; Wed, 16 Apr 2003 10:29:06 -0400 Date: Wed, 16 Apr 2003 14:29:00 -0000 From: Daniel Jacobowitz To: Elena Zannoni Cc: David Carlton , gdb@sources.redhat.com Subject: Re: testsuite errors on Red Hat 8.0 Message-ID: <20030416142906.GB9574@nevyn.them.org> Mail-Followup-To: Elena Zannoni , David Carlton , gdb@sources.redhat.com References: <20030416041146.GA2311@nevyn.them.org> <20030416133417.GA6963@nevyn.them.org> <16029.26634.39200.540933@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16029.26634.39200.540933@localhost.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00157.txt.bz2 On Wed, Apr 16, 2003 at 10:26:18AM -0400, Elena Zannoni wrote: > Daniel Jacobowitz writes: > > On Tue, Apr 15, 2003 at 09:27:32PM -0700, David Carlton wrote: > > > On Wed, 16 Apr 2003 00:11:46 -0400, Daniel Jacobowitz said: > > > > > > >> and in gdb.threads/pthreads.exp, I get: > > > >> > > > >> FAIL: gdb.threads/pthreads.exp: check backtrace from main thread > > > >> FAIL: gdb.threads/pthreads.exp: apply backtrace command to all three threads > > > > > > > These I'd definitely like to see the log for. > > > > > > I'll put it after my signature. > > > > > > > thread apply 1 backtrace > > > > > > Thread 1 (Thread 16384 (LWP 14967)): > > > #0 0x4013a816 in nanosleep () from /lib/libc.so.6 > > > #1 0x00000000 in ?? () > > > 51 if (verbose) printf("common_routine (%d)\n", arg); > > > (gdb) FAIL: gdb.threads/pthreads.exp: check backtrace from main thread > > > > We can no longer backtrace out of nanosleep on your system, if we ever > > could. > > > > The possible fixes: > > - adding unwind info to glibc syscall stubs and making gdb use it > > - synthesizing unwind info when we recognize a syscall stub and using > > it > > - improving the prologue analyzer until it works for this function > > > he he he...See my posting about how bad this problem is going to bite > us for NPTL kernels. About this particual problem, RH 8.0 doesn't have > NPTL, but there could be some other interesting kernel 'feature' going > on. Fortunately, IIRC, Ulrich has added unwind info to glibc for syscall wrappers in glibc now? Next step is to use it! -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer