This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Ada 1/6] watchpoint regression debugging with remote protocol (bare metal)
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Cc: Xavier Roirand <roirand at adacore dot com>
- Date: Wed, 22 Nov 2017 11:16:17 +0000
- Subject: Re: [Ada 1/6] watchpoint regression debugging with remote protocol (bare metal)
- Authentication-results: sourceware.org; auth=none
- References: <20171121222923.8951-1-brobecker@adacore.com> <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