From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [ob] Don't clobber inferior_ptid in read_pc_pid
Date: Sun, 29 Feb 2004 04:02:00 -0000 [thread overview]
Message-ID: <40416435.7040706@gnu.org> (raw)
In-Reply-To: <20040229031447.GA6234@nevyn.them.org>
> On Sat, Feb 28, 2004 at 02:32:55PM -0500, Andrew Cagney wrote:
>
>>>> >Another issue found in testing on arm-linux. A return was added to this
>>>> >function back in June; if we return from the middle of it, we leave
>>>> >inferior_ptid set to the wrong thread. This causes a "!ptid_equal
>>>> >(ecs->ptid, inferior_ptid)" test to fail, since we called read_pc_pid
>>>> >with ecs->ptid. That leads to not calling context_switch; which clobbers
>>>> >the stepping range for the previous thread; which causes stepping to stop
>>>> >unexpectedly.
>>>> >
>>>> >I'll commit this patch as obvious in a day or two.
It isn't obvious, but it does appear to be correct.
>>> Can you please commit it now?
>
>
> Sorry, I had left before this message arrived.
>
> My goal in waiting was to retest on another target, which I did not
> have time for this morning, and to wait for the release branch to be
> confusion on my own part about the timing, since as of your
> next-to-last announcement you were planning on back-dating the release
> branch. These are patches I consider suitable for the release branch
> and it's not much extra work for me to retest and commit them on two
> branches.
>
> When I check in patches immediately people complain that I am acting
> impetuously. When I wait you ask me to commit the patch now. When I
> get back and see your message I get:
My post clearly has context - if that change were committed before the
branch was cut, life will be easy for all concerned.
It doesn't say commit to an un-announced branch the moment you see the
first hint that it is being created. That will make the release
engineer's life hell.
I'm going to alter the releng notes to point out that the first mention
of the branch should be its announcement. That hopefully will stop
future occurances of this problem.
Andrew
next prev parent reply other threads:[~2004-02-29 4:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-28 17:35 Daniel Jacobowitz
2004-02-28 19:32 ` Andrew Cagney
2004-02-29 3:14 ` Daniel Jacobowitz
2004-02-29 4:02 ` Andrew Cagney [this message]
2004-02-29 17:02 ` Daniel Jacobowitz
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=40416435.7040706@gnu.org \
--to=cagney@gnu.org \
--cc=drow@false.org \
--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