This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada 1/6] watchpoint regression debugging with remote protocol (bare metal)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]