From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15975 invoked by alias); 23 Oct 2006 10:45:26 -0000 Received: (qmail 15956 invoked by uid 22791); 23 Oct 2006 10:45:26 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Oct 2006 10:45:24 +0000 Received: by wx-out-0506.google.com with SMTP id i31so1547439wxd for ; Mon, 23 Oct 2006 03:45:23 -0700 (PDT) Received: by 10.70.76.11 with SMTP id y11mr6665782wxa; Mon, 23 Oct 2006 03:45:23 -0700 (PDT) Received: by 10.70.12.9 with HTTP; Mon, 23 Oct 2006 03:45:23 -0700 (PDT) Message-ID: Date: Mon, 23 Oct 2006 10:45:00 -0000 From: "Rob Quill" To: gdb@sourceware.org Subject: Command File Scope Checking MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00212.txt.bz2 Hi, Is it possible to check if a variable is in scope when using a command file, because I don't want control to return to GDB when a variable goes out of scope, so I would like to know if a variable is in scope before I check the value of it. Thanks. Rob