clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. You want to check if each reg num is not LLDB_INVALID_REGNUM and return an appropriate error. http://reviews.llvm.org/D15457