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

Pedro Franco de Carvalho pedromfc@linux.ibm.com
Fri Aug 9 15:53:00 GMT 2019


"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



More information about the Gdb-patches mailing list