Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Suryansh Kumar <suryansh.1234@gmail.com>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb@sourceware.org, Vini Kanvar <vini@cse.iitb.ac.in>
Subject: Fwd: Print addresses of all local variables
Date: Tue, 23 Jun 2015 10:52:00 -0000	[thread overview]
Message-ID: <CADA370s=JsYhrkCn+VbB-KZ7EZ55YmCEEcTtYrKFK-XzG5AdyA@mail.gmail.com> (raw)
In-Reply-To: <CADA370tyjyMojvqJvtNkWexQKmwWzqGgA+vaDBGCS1fy2vXBfw@mail.gmail.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


  parent reply	other threads:[~2015-06-23 10:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17  8:55 Suryansh Kumar
2015-06-17  9:14 ` Andreas Schwab
     [not found]   ` <CADA370tyjyMojvqJvtNkWexQKmwWzqGgA+vaDBGCS1fy2vXBfw@mail.gmail.com>
2015-06-23 10:52     ` Suryansh Kumar [this message]
2015-06-23 15:14 ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADA370s=JsYhrkCn+VbB-KZ7EZ55YmCEEcTtYrKFK-XzG5AdyA@mail.gmail.com' \
    --to=suryansh.1234@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=schwab@suse.de \
    --cc=vini@cse.iitb.ac.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox