From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25481 invoked by alias); 11 Jul 2007 11:40:23 -0000 Received: (qmail 25473 invoked by uid 22791); 11 Jul 2007 11:40:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jul 2007 11:40:21 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 338DC982C6 for ; Wed, 11 Jul 2007 11:40:20 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 145C9982C4 for ; Wed, 11 Jul 2007 11:40:20 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I8aYM-0001Ds-IT for gdb@sourceware.org; Wed, 11 Jul 2007 07:40:18 -0400 Date: Wed, 11 Jul 2007 11:40:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: How to avoid stepping inside libpthread Message-ID: <20070711114018.GA4676@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <20070711.151820.55513191.nemoto@toshiba-tops.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070711.151820.55513191.nemoto@toshiba-tops.co.jp> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00092.txt.bz2 On Wed, Jul 11, 2007 at 03:18:20PM +0900, Atsushi Nemoto wrote: > When I keep typing "next" command in debug session, gdb might try to > do single stepping inside libpthread. And on atomic operations (LL/SC > loop, as I'm using Linux/MIPS), the single stepping never ends. Andreas answered this; we could fix it for MIPS, now. > (gdb) > warning: GDB can't find the start of the function at 0x2ab0ae88. I don't know why this happens, no. Something must be wrong. info shared still works, right? -- Daniel Jacobowitz CodeSourcery