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: [PATCH 3/3] [PowerPC] Fix debug register issues in ppc-linux-nat


"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


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