public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Cc: Xavier Roirand <roirand@adacore.com>
Subject: Re: [Ada 1/6] watchpoint regression debugging with remote protocol (bare metal)
Date: Wed, 22 Nov 2017 11:16:00 -0000	[thread overview]
Message-ID: <e4a5d19c-56f2-f69b-3c2b-713bc434cda0@redhat.com> (raw)
In-Reply-To: <20171121222923.8951-2-brobecker@adacore.com>

On 11/21/2017 10:29 PM, Joel Brobecker wrote:
> We have noticed a regression in our watchpoint support when debugging
> through the remote protocol a program running on a bare metal platform,
> when the program uses what we call the Ravenscar Runtime.

...

> 
> For the record, the commit which caused the regression is:
> 
>     commit 799a2abe613be0645b84f5aaa050f2f91e6ae3f7
>     Date:   Mon Nov 30 16:05:16 2015 +0000
>     Subject: remote: stop reason and watchpoint data address per thread
> 

...

> The way we chose to fix the issue is by making sure that the
> ravenscar-thread layer doesn't let the remote layer be called
> with inferior_ptid being set to a thread that the remote layer
> does not know about.

FWIW, this looks like the right solution to me.

Thanks,
Pedro Alves

  reply	other threads:[~2017-11-22 11:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 22:29 [Ada/commit] various ravenscar-thread enhancements Joel Brobecker
2017-11-21 22:29 ` [Ada 4/6] problem debugging ravenscar programs if runtime is stripped Joel Brobecker
2017-11-21 22:29 ` [Ada 1/6] watchpoint regression debugging with remote protocol (bare metal) Joel Brobecker
2017-11-22 11:16   ` Pedro Alves [this message]
2017-11-22 22:30     ` Joel Brobecker
2017-11-21 22:29 ` [Ada 2/6] Provide the "Base CPU" in output of "info task" (if set by runtime) Joel Brobecker
2017-11-21 22:29 ` [Ada 5/6] (Ada) crash connecting to TSIM simulator Joel Brobecker
2017-11-21 22:29 ` [Ada 6/6] ravenscar: update inferior ptid with event ptid Joel Brobecker
2017-11-21 22:34 ` [Ada 3/6] Add multiple-CPU support in ravenscar-thread.c Joel Brobecker

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=e4a5d19c-56f2-f69b-3c2b-713bc434cda0@redhat.com \
    --to=palves@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=roirand@adacore.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).