Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Disable [eE] packets by default
Date: Tue, 26 Feb 2002 17:31:00 -0000	[thread overview]
Message-ID: <3C7C34DD.4773D940@redhat.com> (raw)
In-Reply-To: <3C7C3525.2070209@cygnus.com>

Andrew Cagney wrote:
> 
> > Andrew Cagney wrote:
> >
> >>
> >> Hello,
> >>
> >> This is a followup to the current discussion regarding the [Ee] packets.
> >> It disables them by default.
> >>
> >> While it is a brutal solution to a problem, it is also 6 days before 5.2
> >> branches.  It also clears the slate for another attempt at this.
> >>
> >> Thoughts?
> >
> >
> > I think this is the right thing to do.  Previously we had
> > no way to test the 'e' packet.  Now that we do have, it is
> > seen to be buggy.  This is like an unreliable optimization.
> > You can give the user the opportunity to use it if he chooses,
> > but you don't turn it on by default.
> 
> It is in.  We're now free to figure out how to really make this work :-)
> 
> > I would like to start discussing the right way to implement this.
> > For one thing, the current implementation has remote.c snatching
> > control away from infrun, and doing something completely
> > different from what infrun asked it to do.  I'd like to have
> > the decision about whether to use step-over-range made in
> > infrun, not in the target layer.
> 
> Yes, definitly.  I suspect step-out-of-range is a special case of step.
>   I think the decision to try to use both should be made by infrun.c.

I'm picturing a "to_step_over_range" target vector, and the decision
about whether or not to use it would be made in infrun/resume, 
right about the same place where it decides whether to use step or
continue.


      reply	other threads:[~2002-02-27  1:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-24 16:34 Andrew Cagney
2002-02-24 16:42 ` Michael Snyder
2002-02-26  9:29   ` Frank Ch. Eigler
2002-02-26 17:23   ` Andrew Cagney
2002-02-26 17:31     ` 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=3C7C34DD.4773D940@redhat.com \
    --to=msnyder@redhat.com \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@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