This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Fwd: Print addresses of all local variables
- From: Suryansh Kumar <suryansh dot 1234 at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb at sourceware dot org, Vini Kanvar <vini at cse dot iitb dot ac dot in>
- Date: Tue, 23 Jun 2015 16:22:28 +0530
- Subject: Fwd: Print addresses of all local variables
- Authentication-results: sourceware.org; auth=none
- References: <CADA370v-0JBveYZ8WsEq2np914uWoU=dtL=XSBy6eFwYy6CsZg at mail dot gmail dot com> <mvmioam7l42 dot fsf at hawking dot suse dot de> <CADA370tyjyMojvqJvtNkWexQKmwWzqGgA+vaDBGCS1fy2vXBfw at mail dot gmail dot com>
---------- Forwarded message ----------
From: Suryansh Kumar <suryansh.1234@gmail.com>
Date: Wed, Jun 17, 2015 at 2:46 PM
Subject: Re: Print addresses of all local variables
To: Andreas Schwab <schwab@suse.de>
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 <schwab@suse.de> wrote:
> Suryansh Kumar <suryansh.1234@gmail.com> 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