Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@ges.redhat.com>, gdb@sources.redhat.com
Subject: Re: Getting the i386 watchpoints into the taget vector?
Date: Fri, 20 Sep 2002 00:38:00 -0000	[thread overview]
Message-ID: <1020920073810.ZM24183@localhost.localdomain> (raw)
In-Reply-To: Andrew Cagney <ac131313@ges.redhat.com> "Getting the i386 watchpoints into the taget vector?" (Sep 19,  9:57pm)

On Sep 19,  9:57pm, Andrew Cagney wrote:

> Another (less well thought out) idea, is for the target stack, to fall 
> back to the ``native watchpoint'' mechanism when the [remote] target 
> doesn't support watchpoints. I think this would mean putting the 
> ``native watchpoint'' methods in the architecture vector where the 
> target vector code could call it.

Assuming a remote target, I can see that this would work in situations
where you have access to the hardware breakpoint registers via the
remote protocol.  However, in situations where the ``native watchpoint''
mechanism consists of funky ptrace() calls (or the like), this clearly
won't work.  (E.g, I don't think this could be made to work for
Linux/IA-64.)

Kevin


  reply	other threads:[~2002-09-20  7:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 18:57 Andrew Cagney
2002-09-20  0:38 ` Kevin Buettner [this message]
2002-09-20  6:32 ` Paul Koning
2002-09-20  8:26   ` Andrew Cagney
2002-09-20 14:42 ` Eli Zaretskii
2002-09-20 16:51   ` Andrew Cagney
2002-09-21  1:32     ` Eli Zaretskii

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=1020920073810.ZM24183@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@ges.redhat.com \
    --cc=gdb@sources.redhat.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