Fwd: Print addresses of all local variables

Suryansh Kumar <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CADA370s=JsYhrkCn+VbB-KZ7EZ55YmCEEcTtYrKFK-XzG5AdyA@mail.gmail.com>
---------- Forwarded message ----------
From: Suryansh Kumar <[email protected]>
Date: Wed, Jun 17, 2015 at 2:46 PM
Subject: Re: Print addresses of all local variables
To: Andreas Schwab <[email protected]>


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 <[email protected]> wrote:
> Suryansh Kumar <[email protected]> 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, [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.