From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27645 invoked by alias); 27 Jun 2005 21:48:32 -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 27630 invoked by uid 22791); 27 Jun 2005 21:48:28 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 27 Jun 2005 21:48:28 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1Dn1St-0000Dh-04; Mon, 27 Jun 2005 17:48:27 -0400 Date: Mon, 27 Jun 2005 21:48:00 -0000 From: Daniel Jacobowitz To: Thomas Glanzmann , gdb@sources.redhat.com Subject: Re: gdb eats 100% cpu for relative long time when I single step one instruction Message-ID: <20050627214826.GA756@nevyn.them.org> Mail-Followup-To: Thomas Glanzmann , gdb@sources.redhat.com References: <20050627212704.GD8659@cip.informatik.uni-erlangen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050627212704.GD8659@cip.informatik.uni-erlangen.de> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00267.txt.bz2 On Mon, Jun 27, 2005 at 11:27:04PM +0200, Thomas Glanzmann wrote: > This happens *only* when I call 'layout asm' gdb thinks that I am in the > function jzero_far which is at 0x81cd12a but I am actually in a funtion > without a debugging symbol at 0x838fdcb, so I think the 'layout regs' > tries to analyse this few thousand instructions or whatever. Is there a > way to tell 'layout regs' to show only the few surrounding instructions? These are just display panes. It sounds like something is broken inside the TUI. You'll have to build a debuggable GDB and attach another gdb to it to see what it's spinning on. -- Daniel Jacobowitz CodeSourcery, LLC