[PATCH for REVIEW] Cleanup POSIX RegisterContext class hierarchies.

First pass at cleaning up the POSIX registercontext stuff.

Future changes:

  • We should be able to get rid of the RegisterContextPOSIX stuff for core files (which don’t need hardware breakpoints, etc.)
  • Fix up RegisterContextPOSIX_i386. I believe we can use it on all 32-bit targets regardless of debugger platform using PTRACE_GETREGSET / NT_PRSTATUS instead of PTRACE_GETREGS.

Thanks.
-Mike

(Also, thanks to Greg for suggestions and initial review…)

D1651.1.patch (156 KB)