From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14664 invoked by alias); 14 Apr 2006 20:09:27 -0000 Received: (qmail 14656 invoked by uid 22791); 14 Apr 2006 20:09:26 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 14 Apr 2006 20:09:25 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FUUbY-0005zh-1g; Fri, 14 Apr 2006 16:09:20 -0400 Date: Fri, 14 Apr 2006 21:37:00 -0000 From: Daniel Jacobowitz To: Jim Ingham Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: -var-update and address changes Message-ID: <20060414200920.GA23018@nevyn.them.org> Mail-Followup-To: Jim Ingham , Vladimir Prus , gdb@sources.redhat.com References: <1A00C3C1-BDF5-489E-A36A-A1E5C20E102A@apple.com> <20060414131549.GC12955@nevyn.them.org> <20060414195312.GB22562@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00211.txt.bz2 On Fri, Apr 14, 2006 at 01:04:22PM -0700, Jim Ingham wrote: > If you have a disassembly view showing, and you are clicking around > on the stack, Xcode fetches enough code to fill the disassembly > window around the pc of the frame you've selected on the stack. > Having the pc returned with the stack frame eliminates one round > trip. People tend to nervously click around on the stack for no > apparent reason while they are thinking about the problem they are > working on. So this needs to be somewhat quick, though this one > round trip is probably negligible. OTOH the fewer things you have to > do by "send a request, wait for the reply, do the next request" the > easier it is to program on the client side. I wouldn't lean too hard > on this one way or another. Let me rephrase. This is the PC associated with the frame, right now. It's not the PC in the frame ID at all. That PC is the start of the function containing the frame. -- Daniel Jacobowitz CodeSourcery