diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-06-11 18:09:01 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-06-11 18:09:01 +0000 |
commit | 5cc241753232a1c201c8592509fc78d5d7135dfa (patch) | |
tree | bd73fd1e856b5c4c28b5dbe7a17557b7f1aeaf02 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | caa0ec2851acf71b063ef3b1decf905d622ef858 (diff) | |
download | llvm-5cc241753232a1c201c8592509fc78d5d7135dfa.zip llvm-5cc241753232a1c201c8592509fc78d5d7135dfa.tar.gz llvm-5cc241753232a1c201c8592509fc78d5d7135dfa.tar.bz2 |
Add gdb-remote P register write test.
Added test that attempts to write a value to each general
purpose register that is bit-flipped from the initial read
value. It then reads it back to see if it takes.
Right now I just assert that at least one register bit flip
write succeeds. I added a note that on the MacOSX x86_64
debugserver case, the only writes that succeed from the GPR
set are rax thru rdx, rdi, rsi and rbp. The failures are E32
failure-at-write-attempt issues on the debugserver end.
I'll revisit this after implementing in the llgs linux-x86_64 branch.
The packet log looks good but I may have a subtle mistake in the code.
llvm-svn: 210681
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions