linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Billy O'Connor <billy@oconnoronline.net>
To: xjnfx@doityourself.com
Cc: linux-c-programming@vger.kernel.org
Subject: Re: c debugging w/ gdb revisited
Date: Fri, 14 Jun 2002 02:21:38 -0400 (EDT)	[thread overview]
Message-ID: <20020614062138.240CD89@dps7.oconnoronline.net> (raw)
In-Reply-To: <20020614065235.010E336F9@sitemail.everyone.net> (xjnfx@doityourself.com)

   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

  reply	other threads:[~2002-06-14  6:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14  6:52 c debugging w/ gdb revisited jnf
2002-06-14  6:21 ` Billy O'Connor [this message]
2002-06-14 10:57 ` Felipe W Damasio

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=20020614062138.240CD89@dps7.oconnoronline.net \
    --to=billy@oconnoronline.net \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=xjnfx@doityourself.com \
    /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).