From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18174 invoked by alias); 23 Jun 2015 10:52:32 -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 17261 invoked by uid 89); 23 Jun 2015 10:52:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f53.google.com Received: from mail-oi0-f53.google.com (HELO mail-oi0-f53.google.com) (209.85.218.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 23 Jun 2015 10:52:30 +0000 Received: by oiax193 with SMTP id x193so4018440oia.2 for ; Tue, 23 Jun 2015 03:52:28 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.39.65 with SMTP id n1mr3058670oek.31.1435056748173; Tue, 23 Jun 2015 03:52:28 -0700 (PDT) Received: by 10.76.75.228 with HTTP; Tue, 23 Jun 2015 03:52:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Jun 2015 10:52:00 -0000 Message-ID: Subject: Fwd: Print addresses of all local variables From: Suryansh Kumar To: Andreas Schwab Cc: gdb@sourceware.org, Vini Kanvar Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-06/txt/msg00065.txt.bz2 ---------- Forwarded message ---------- From: Suryansh Kumar Date: Wed, Jun 17, 2015 at 2:46 PM Subject: Re: Print addresses of all local variables To: Andreas Schwab By user functions I mean those written by the programmer, the non library functions. On Wed, Jun 17, 2015 at 2:44 PM, Andreas Schwab wrote: > 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." -- Regards, Suryansh D Kumar -- Regards, Suryansh D Kumar