public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Ivan Di Prima <ivandiprima@gmail.com>
To: gdb@sourceware.org
Subject: reliabilit​y of registers contents within each frame
Date: Thu, 12 Apr 2012 18:50:00 -0000	[thread overview]
Message-ID: <4F8723C8.5060900@gmail.com> (raw)

Hi,

How reliable are the registers values within each frame?

Basically if move "up" and "down" between frames and then display the register contents with "info reg" do I see ALL the register captured in that frame or just the registers which are "push" on the stack within the source code?

Also, will optimization affect register values such that even if they are not marked "<value optimized out>" by gdb their values will still be readable but unreliable?

Thanks
Ivan

ps. I am reading a core file with its binary with the command: arm-gdb ProcessBin coreFile

             reply	other threads:[~2012-04-12 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 18:50 Ivan Di Prima [this message]
2012-04-13 13:21 ` Jan Kratochvil

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=4F8723C8.5060900@gmail.com \
    --to=ivandiprima@gmail.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).