From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6522 invoked by alias); 13 Apr 2002 20:10:05 -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 6498 invoked from network); 13 Apr 2002 20:09:59 -0000 Received: from unknown (HELO localhost?merlin.xternal.fadata.bg) (217.9.226.246) by sources.redhat.com with SMTP; 13 Apr 2002 20:09:59 -0000 Received: (qmail 10210 invoked by uid 1000); 13 Apr 2002 20:09:52 -0000 To: Martin Baulig Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Lifetime of local variables References: <86u1qghdp5.fsf@einstein.home-of-linux.org> <20020412194304.B11562@nevyn.them.org> <86bscnesxy.fsf@einstein.home-of-linux.org> <20020413143246.B13608@nevyn.them.org> <86vgav77oa.fsf@einstein.home-of-linux.org> From: Momchil Velikov Date: Sat, 13 Apr 2002 13:10:00 -0000 In-Reply-To: <86vgav77oa.fsf@einstein.home-of-linux.org> Message-ID: <87zo07pdgv.fsf@fadata.bg> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00237.txt.bz2 Martin Baulig writes: > Daniel Jacobowitz writes: > > What business does the JIT have actually creating local variables > > (rather than temporaries, which don't get names)? I don't understand. > > What's the difference between a local variable and a temporary variable ? The difference is that the person who debugs a program generally wants to look at the local variables and generally doesn't want to look at compiler temporaries. For the latter case, registers/memory dump seems appropriate or, for the case of CLI, the "evaluation stack" and the "local variable array". Regards, -velco