Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Michael Snyder <msnyder@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Disable [eE] packets by default
Date: Tue, 26 Feb 2002 09:29:00 -0000	[thread overview]
Message-ID: <o5d6ys1790.fsf@toenail.toronto.redhat.com> (raw)
In-Reply-To: <3C798723.4D4B@redhat.com>


msnyder wrote:

> [...]  I think this is the right thing to do.  [...]

OK.  Can you or Andrew explain the reference to "threading code" in
the patch comments?

> > +  /* Disable by default.  The ``e'' packet has nasty interactions with
> > +     the threading code - it relies on global state.  */
> > +  remote_protocol_E.detect = CMD_AUTO_BOOLEAN_FALSE;
> > +  update_packet_config (&remote_protocol_E);



> 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.  

Right - it's interpreting the step=1 argument to remote_resume not
just as "stepi" but as "step if you can, stepi if you can't".


> I'd like to have the decision about whether to use step-over-range
> made in infrun, not in the target layer.

Yup.  One less-pessimistic approach would be to clear step_range_end
and step_range_start in proceed(), if the breakpoint_here_p()
condition is true.  This would mean that targets would have to do
stepi loops when stepping off of a breakpoint, but otherwise could use
step-over-range.


- FChE


  reply	other threads:[~2002-02-26 17:29 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 [this message]
2002-02-26 17:23   ` Andrew Cagney
2002-02-26 17:31     ` Michael Snyder

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=o5d6ys1790.fsf@toenail.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@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