Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: Pierre Muller <muller@cerbere.u-strasbg.fr>
Cc: gdb@sources.redhat.com
Subject: Re: Bug with watchpoints on Linux
Date: Fri, 09 Nov 2001 07:21:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1011121140657.4891B-100000@is> (raw)
In-Reply-To: <4.2.0.58.20011121124943.00a4a288@ics.u-strasbg.fr>


On Wed, 21 Nov 2001, Pierre Muller wrote:

>    But at the second run, the program is never stopped because
> of the changes to this global variable.
> 
>    It seems like there is a problem with the hardware watchpoint
> resetting.

IIRC, GDB removes the watchpoints when the program exits.  You should see 
a message to that effect, and "info breakpoints" should reflect it.

If that's not what you see, it's possible that there's a bug somewhere.

You could try the maint comamnd show-debug-regs to see what is going on 
with watchpoints.


  reply	other threads:[~2001-11-21 12:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09  6:17 Pierre Muller
2001-11-09  7:21 ` Eli Zaretskii [this message]
2001-11-09  9:40 ` Pierre Muller
2001-11-09 18:27   ` Pierre Muller
2001-11-10  9:44     ` Bug with i386 watchpoints Pierre Muller
2001-11-10 11:13       ` Eli Zaretskii
2001-11-11 13:01         ` Pierre Muller
2001-11-10 11:02 ` Bug with watchpoints on Linux 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=Pine.SUN.3.91.1011121140657.4891B-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=gdb@sources.redhat.com \
    --cc=muller@cerbere.u-strasbg.fr \
    /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