From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48221 invoked by alias); 17 Jun 2015 09:14:11 -0000 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 Received: (qmail 48143 invoked by uid 89); 17 Jun 2015 09:14:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 17 Jun 2015 09:14:09 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 304C2AD89; Wed, 17 Jun 2015 09:14:06 +0000 (UTC) From: Andreas Schwab To: Suryansh Kumar Cc: gdb@sourceware.org, Vini Kanvar Subject: Re: Print addresses of all local variables References: X-Yow: Three attractive BANK ROBBERS are discussing RELIGIOUS DIFFERENCES and MAKE-UP TECHNIQUE with them!! Date: Wed, 17 Jun 2015 09:14:00 -0000 In-Reply-To: (Suryansh Kumar's message of "Wed, 17 Jun 2015 14:25:15 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg00038.txt.bz2 Suryansh Kumar writes: > "step" into non-library functions > ---------------------------------- > I need to store the data at the end of every function when it is > executed using a gdb script. I am not able to use the 'step' command > in the script as it also steps into the library functions, which I > don't need. Need a way to run step conditionally on user functions > only. How do you define "user function"? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."