Re: [PATCH 3/3] [PowerPC] Fix debug register issues in ppc-linux-nat

Pedro Franco de Carvalho
2019-08-09T15:53:17Z

"Ulrich Weigand" <uweigand@de.ibm.com> writes:

> But it seems what would work reliably is to delete slots from 1 to max,
> while ignoring ENOENT, right? In fact, you don't even need to know the
> max slot number, because you'll get EINVAL if and only if you're attempting
> to delete the first slot after max (assuming you do it in sequence).

Yes, this should work and should make the next version simpler. I'll
make a new version of the patch.

Thanks!

--
Pedro Franco de Carvalho