From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30067 invoked by alias); 24 Jul 2007 18:34:55 -0000 Received: (qmail 30057 invoked by uid 22791); 24 Jul 2007 18:34:55 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jul 2007 18:34:53 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0) with ESMTP id l6OIWA2Q023227; Tue, 24 Jul 2007 20:32:10 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0/Submit) id l6OIWAUp018805; Tue, 24 Jul 2007 20:32:10 +0200 (CEST) Date: Tue, 24 Jul 2007 18:45:00 -0000 Message-Id: <200707241832.l6OIWAUp018805@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: eager@eagercon.com CC: eager@eagercon.com, gdb@sources.redhat.com, vladimir@codesourcery.com In-reply-to: <46A6387F.8020303@eagercon.com> (message from Michael Eager on Tue, 24 Jul 2007 10:35:59 -0700) Subject: Re: frame cache References: <46A63051.7060208@eagercon.com> <20070724171452.GA15843@caradoc.them.org> <46A6387F.8020303@eagercon.com> 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/msg00179.txt.bz2 > Date: Tue, 24 Jul 2007 10:35:59 -0700 > From: Michael Eager > > When I put debugging code in _analyze_prologue(), I see > that it is called over and over while executing a "next" command. > All those bits going back and forth over the serial line to the > target. If that's the case, there's something wrong; prologue analysis should only be done as a last resort, i.e. when proper debug information is not available. Your effort might be better spent on determining why proper debug info is not present instead of optimizing _analyze_prologue().