Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alan Hayward <Alan.Hayward@arm.com>
To: Tom Tromey <tom@tromey.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	nd <nd@arm.com>
Subject: Re: [PATCH] infun debug: Use correct target pid
Date: Mon, 25 Mar 2019 16:58:00 -0000	[thread overview]
Message-ID: <4592505B-96DA-443B-B343-00BBBBDB777D@arm.com> (raw)
In-Reply-To: <875zs6kjq3.fsf@tromey.com>



> On 25 Mar 2019, at 16:21, Tom Tromey <tom@tromey.com> wrote:
> 
>>>>>> "Alan" == Alan Hayward <Alan.Hayward@arm.com> writes:
> 
> Alan> The infrun debug reads the id for the exited thread from the ws value.
> Alan> However, this is always 0, causing an assert in find_inferior_pid.
> 
> Alan> Instead, the id should be read from the wait return value.
> 
> FWIW this is already being discussed in another thread:
> 
> https://sourceware.org/ml/gdb-patches/2019-03/msg00516.html
> 
> Tom

!!!  Yes, I totally missed that! Complete coincidence too.
I’ll drop my patch.


Alan.

  reply	other threads:[~2019-03-25 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25 16:18 Alan Hayward
2019-03-25 16:22 ` Tom Tromey
2019-03-25 16:58   ` Alan Hayward [this message]
2019-03-30 10:05     ` Philippe Waroquiers

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=4592505B-96DA-443B-B343-00BBBBDB777D@arm.com \
    --to=alan.hayward@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=nd@arm.com \
    --cc=tom@tromey.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