Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: "Martin M. Hunt" <hunt@redhat.com>
Cc: gdb-patches@sources.redhat.com, eliz@is.elta.co.il
Subject: Re: [RFA] breakpoints.c clear_command fix
Date: Tue, 09 Apr 2002 15:34:00 -0000	[thread overview]
Message-ID: <3CB369B0.E80BB028@redhat.com> (raw)
In-Reply-To: <200204081924.g38JO0v24874@localhost.localdomain>

"Martin M. Hunt" wrote:
> 
> On Friday 05 April 2002 05:55 pm, Michael Snyder wrote:
> > "Martin M. Hunt" wrote:
> > > The clear command improperly detects overlays and fails
> > > to clear breakpoints if overlays are not disabled.
> > >
> > > Tested with linux-x-mips (overlays enabled) and linux x86 native.
> >
> > Martin, you really made me think with this one.  Sorry it took so long.
> > I had to go back eleven years in the code base to understand what this
> > code was trying to do -- which made me realize that it's painfully
> > obsolete.  It has two inner loops with identical control conditions
> > (except that they've gotten out of sync), just because they didn't
> > have ALL_BREAKPOINTS_SAFE when this code was written.
> 
> I was wondering why the two seperate loops.  I didn't understand the comments
> so I made the minimum changes that seemed logical.
> 
> > So I rewrote the whole damn function.   ;-)
> 
> Great!
> 
> It looks fine and it passes all my test cases.  Thanks.

Committed.


      reply	other threads:[~2002-04-09 22:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-26 16:02 Martin M. Hunt
2002-04-05 18:10 ` Michael Snyder
2002-04-05 18:40   ` i18n; Was: " Andrew Cagney
2002-04-06  0:17     ` Eli Zaretskii
2002-04-06  7:30       ` Andrew Cagney
2002-04-08 12:24   ` Martin M. Hunt
2002-04-09 15:34     ` Michael Snyder [this message]

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=3CB369B0.E80BB028@redhat.com \
    --to=msnyder@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=hunt@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