Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
To: pkoning@equallogic.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: proposed PATCH: make watchpoints work correctly
Date: Thu, 29 May 2003 03:27:00 -0000	[thread overview]
Message-ID: <5567-Thu29May2003062838+0300-eliz@elta.co.il> (raw)
In-Reply-To: <16085.7093.776115.863795@pkoning.dev.equallogic.com> (message from Paul Koning on Wed, 28 May 2003 16:27:33 -0400)

> Date: Wed, 28 May 2003 16:27:33 -0400
> From: Paul Koning <pkoning@equallogic.com>
> 
>  Eli> The above description made me nervous: it almost sounds like the
>  Eli> current watchpoint support is pretty much dysfunctional, as most
>  Eli> of the changes you suggest are not specific neither to remote.c
>  Eli> nor to HAVE_NONSTEPPABLE_WATCHPOINT.  So could you please
>  Eli> explain how, given those deficiencies, watchpoints do work for
>  Eli> native targets such as x86, but did not work for your target?
> 
> I'm not sure. I just built a gdb for x86 on NetBSD, and all I get is
> software write watchpoints, no hardware watch support seems to be
> present.

That's strange: I thought hardware-assisted watchpoints were supported
for all native x86 platforms.  Mark, could you please help us out
here? is NetBSD an exception?

I don't have time right now to read the parts of breakpoint.c that you
describe, but I promise to do that later today.  Thanks for taking
time to explain your reasoning.

> The purpose of this patch submission is to
> get input from experts -- not necessarily to claim that the fix I
> submitted is the best way to solve the problem...

Certainly, I understand that.  I just was surprised that your
description of the problem was so different from my recollection of
how watchpoints work.


  reply	other threads:[~2003-05-29  3:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 16:01 Paul Koning
2003-05-28 16:02 ` Paul Koning
2003-05-28 16:42 ` Daniel Jacobowitz
2003-05-28 19:54 ` Eli Zaretskii
2003-05-28 20:27   ` Paul Koning
2003-05-29  3:27     ` Eli Zaretskii [this message]
2003-05-29  4:36       ` Nathan J. Williams
2003-05-29 15:14         ` Eli Zaretskii
2003-05-29 15:17       ` Paul Koning
2003-05-29 15:37         ` Daniel Jacobowitz
2003-05-29 17:41           ` Paul Koning
2003-06-02  4:19         ` Eli Zaretskii
2003-06-04 14:51           ` Paul Koning
2003-06-29  4:15             ` Daniel Jacobowitz

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=5567-Thu29May2003062838+0300-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=pkoning@equallogic.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