[Ada 1/6] watchpoint regression debugging with remote protocol (bare metal)
Pedro Alves
palves@redhat.com
Wed Nov 22 11:16:00 GMT 2017
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
More information about the Gdb-patches
mailing list