Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: patch for invalid hw breakpoints
Date: Thu, 01 Jun 2006 17:21:00 -0000	[thread overview]
Message-ID: <ulksgeqwz.fsf@gnu.org> (raw)
In-Reply-To: <447EE9A8.4050800@codesourcery.com> (message from Nathan Sidwell 	on Thu, 01 Jun 2006 14:20:40 +0100)

[Patches should be sent to gdb-patches,; I redirected the thread.]

> Date: Thu, 01 Jun 2006 14:20:40 +0100
> From: Nathan Sidwell <nathan@codesourcery.com>
> 
> I have a remote target w/o hw watchpoint support.  I set a watchpoint only to 
> find that I then get an undeletable watchpoint as we try and remove it.
> 
> The bug is that when insert_bp_location fails to insert one of the watched 
> addresses for a watch expression it then goes and tries to remove all the 
> addresses of that watched expression, rather than just the previous fragments of 
> the expression.

And why is that a problem?  I'm sorry, but I couldn't figure out from
your description why removing a watch for an expression for which
insertion didn't happen causes trouble.  IIRC, it is supposed to
silently fail, and its only effect should be to cause GDB to be happy
that the watchpoint was completely removed.  What am I missing?


       reply	other threads:[~2006-06-01 17:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <447EE9A8.4050800@codesourcery.com>
2006-06-01 17:21 ` Eli Zaretskii [this message]
2006-06-01 17:26   ` Daniel Jacobowitz
2006-06-01 17:46     ` Nathan Sidwell
2006-06-01 18:03       ` Daniel Jacobowitz
2006-06-01 20:53         ` Eli Zaretskii
2006-06-01 21:12           ` Daniel Jacobowitz
2006-06-02  8:44             ` Eli Zaretskii
2006-06-02 13:52               ` Daniel Jacobowitz
2006-06-02 20:56                 ` Eli Zaretskii
2006-06-02 20:57                   ` Daniel Jacobowitz
2006-06-05 14:30               ` Nathan Sidwell
2006-06-05 19:58                 ` Eli Zaretskii
2006-06-02  7:26         ` Nathan Sidwell
2006-06-02  8:13           ` Eli Zaretskii
2006-06-01 18:33       ` Nathan Sidwell

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=ulksgeqwz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=nathan@codesourcery.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