From: Tom Tromey <tom@tromey.com>
To: Pedro Alves <palves@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/4] Make "checkpoint" not rely on inferior_ptid
Date: Tue, 05 Mar 2019 19:32:00 -0000 [thread overview]
Message-ID: <87lg1truav.fsf@tromey.com> (raw)
In-Reply-To: <20190305184340.26768-2-palves@redhat.com> (Pedro Alves's message of "Tue, 5 Mar 2019 18:43:37 +0000")
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> In the
Pedro> multi-target branch, I'm forcing inferior_ptid to null_ptid early in
Pedro> infrun event handling to make sure we inadvertently rely on the
Pedro> current thread/target when we shouldn't, and that caught some bad
Pedro> or unnecessary assumptions throughout.
This read a bit strangely to me. Maybe instead write "to make sure we
don't inadvertently rely on the current thread/target,..."?
The patch itself seemed fine to me. Big +1 to reducing the impact of
globals.
Tom
next prev parent reply other threads:[~2019-03-05 19:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-05 18:43 [PATCH 0/4] " Pedro Alves
2019-03-05 18:43 ` [PATCH 3/4] linux-fork.c: rewrite inf_has_multiple_threads Pedro Alves
2019-03-05 18:43 ` [PATCH 2/4] C++ify fork_info, use std::list Pedro Alves
2019-03-05 18:43 ` [PATCH 4/4] Eliminate fork_info::clobber_regs Pedro Alves
2019-03-05 18:43 ` [PATCH 1/4] Make "checkpoint" not rely on inferior_ptid Pedro Alves
2019-03-05 19:32 ` Tom Tromey [this message]
2019-03-05 19:46 ` Pedro Alves
2019-03-05 19:46 ` [PATCH 0/4] " Tom Tromey
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=87lg1truav.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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