linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* saved eip question [was Re: c debugging w/ gdb revisited]
@ 2002-06-16 10:43 jnf
  0 siblings, 0 replies; only message in thread
From: jnf @ 2002-06-16 10:43 UTC (permalink / raw)
  To: linux-c-programming

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-16 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-16 10:43 saved eip question [was Re: c debugging w/ gdb revisited] jnf

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).