From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21641 invoked by alias); 24 Oct 2007 22:40:28 -0000 Received: (qmail 21624 invoked by uid 22791); 24 Oct 2007 22:40:27 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.178) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 Oct 2007 22:40:25 +0000 Received: by wa-out-1112.google.com with SMTP id l35so466140waf for ; Wed, 24 Oct 2007 15:40:24 -0700 (PDT) Received: by 10.114.156.1 with SMTP id d1mr1254352wae.1193265623875; Wed, 24 Oct 2007 15:40:23 -0700 (PDT) Received: by 10.114.38.16 with HTTP; Wed, 24 Oct 2007 15:40:23 -0700 (PDT) Message-ID: Date: Wed, 24 Oct 2007 22:40:00 -0000 From: "Grant Likely" To: "Matt Mackall" Subject: Re: Apparent kernel bug with GDB on ppc405 Cc: linuxppc-embedded@ozlabs.org, gdb@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071024194640.GB19691@waste.org> <20071024204215.GC19691@waste.org> <20071024215421.GF19691@waste.org> <20071024223250.GI19691@waste.org> X-Google-Sender-Auth: bfb211668fc8ed39 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-10/txt/msg00221.txt.bz2 On 10/24/07, Grant Likely wrote: > > Not completely implausible, but a) why isn't this seen on basically > > every machine with software TLB? b) why does -local- GDB, which is > > presumably doing much less work than gdbserver + network stack, not fail? > > a) I don't know.... very odd. > > b) gdb is big. It probably touches far more pages (via library calls) > than gdbserver. The network stack is also big, but it's probably more > localized too. > > Niceing down the host also makes sense because if the PC is being slow > then the target may go off and run other things while between setting > the breakpoint and getting the 'go' command. > > Can you grab a snapshot of the TLB before and after setting the breakpoint? Or; probably more relevant, before and after the page copy? g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195