From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13615 invoked by alias); 24 Oct 2006 04:21:17 -0000 Received: (qmail 13606 invoked by uid 22791); 24 Oct 2006 04:21:17 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Oct 2006 04:21:15 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-142-7.inter.net.il [80.230.142.7]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GBQ51246 (AUTH halo1); Tue, 24 Oct 2006 06:21:05 +0200 (IST) Date: Tue, 24 Oct 2006 04:21:00 -0000 Message-Id: From: Eli Zaretskii To: "Rob Quill" CC: gdb@sourceware.org In-reply-to: (rob.quill@gmail.com) Subject: Re: Command File Scope Checking Reply-to: Eli Zaretskii References: <20061023202001.GA5472@nevyn.them.org> 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-10/txt/msg00222.txt.bz2 > Date: Mon, 23 Oct 2006 22:08:19 +0100 > From: "Rob Quill" > > But if I am stepping through the code, and a variable goes out of > scope, how do you suggest I go about dealing with this? Why do you need to ``deal'' with that? I guess I don't understand your problem, because I don't see any reason to care about such a situation: at most, GDB will print an error message. Can you show a small GDB script similar to what you use, and tell what happens when a variable goes out of scope and how does that interfere with the script?