linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jnf <xjnfx@doityourself.com>
To: linux-c-programming@vger.kernel.org
Subject: saved eip question [was Re: c debugging w/ gdb revisited]
Date: Sun, 16 Jun 2002 03:43:46 -0700 (PDT)	[thread overview]
Message-ID: <20020616104346.5EC782757@sitemail.everyone.net> (raw)

yea i didnt think so, but i figured id ask, i was trying to see if i could follow eip honestly.

any idea why a saved eip would be restored here

call function
add $0xsomevalue, %esp
push $value

why it would die in between add and push, why a saved eip would be restored @ that point is really my question, i guess im asking this to the wrong mailing list ;]


--- Billy O'Connor <billy@oconnoronline.net> wrote:
>   just a quick question, does anyone know if its possible to set a break/watchpoint in gdb when a register points to a certain location?
>   i own the gdb manual, and have been playing in it for a bit and just cant seem to figure it out, is it possible?
>
>
>I don't believe that could be done at all, the machine would have to
>stop whenever it mov'd a value to the register so the debugger could
>examine it.  I don't think that's possible on Intel machines, anyway.
>
>--
>Billy O'Connor

_____________________________________________________________
Sign up for FREE email from DoItYourself.com at http://doityourself.com

_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net  http://www.everyone.net/?btn=tag

                 reply	other threads:[~2002-06-16 10:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020616104346.5EC782757@sitemail.everyone.net \
    --to=xjnfx@doityourself.com \
    --cc=linux-c-programming@vger.kernel.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 NNTP newsgroup(s).