From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4469 invoked by alias); 30 Nov 2009 20:16:21 -0000 Received: (qmail 4461 invoked by uid 22791); 30 Nov 2009 20:16:20 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-gx0-f212.google.com (HELO mail-gx0-f212.google.com) (209.85.217.212) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Nov 2009 20:16:14 +0000 Received: by gxk4 with SMTP id 4so2765355gxk.8 for ; Mon, 30 Nov 2009 12:16:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.7.17 with SMTP id 17mr8046025ybg.47.1259612172340; Mon, 30 Nov 2009 12:16:12 -0800 (PST) Date: Mon, 30 Nov 2009 20:39:00 -0000 Message-ID: <31cff80d0911301216j36328837k673a2e1936f00eb1@mail.gmail.com> Subject: size of non local variables From: ranjith kumar To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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: 2009-11/txt/msg00227.txt.bz2 Hi, I know that gdb will print non local variable names and file name in which they are defined , when we run 'info variables' command. Is it possible to print the size of the non local varibles also? like the size of 'int global[100]' is 400bytes ...like that???? thanks in advance.