aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-12-06 21:45:27 +0000
committerGreg Clayton <gclayton@apple.com>2013-12-06 21:45:27 +0000
commit3dedae12b5453757055857e83a1f2624bf08d914 (patch)
tree9394760a1d2f54ddf4438a3eca18b493480c608c /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent0db73111a97137b10897ab8e544d4d9d25f39ce5 (diff)
downloadllvm-3dedae12b5453757055857e83a1f2624bf08d914.zip
llvm-3dedae12b5453757055857e83a1f2624bf08d914.tar.gz
llvm-3dedae12b5453757055857e83a1f2624bf08d914.tar.bz2
Fixed the GDBRemoteCommuncation to return a new GDBRemoteCommuncation::PacketResult enum for all packet sends/receives.
<rdar://problem/15600045> Due to other recent changes, all connections to GDB servers that didn't support the "QStartNoAckMode" packet would cause us to fail to attach to the remote GDB server. The problem was that SendPacket* and WaitForResponse* packets would return a size_t indicating the number of bytes sent/received. The other issue was WaitForResponse* packets would strip the leading '$' and the trailing "#CC" (checksum) bytes, so the unimplemented response packet of "$#00" would get stripped and the WaitForResponse* packets would return 0. These new error codes give us flexibility to to more intelligent things in response to what is returned. llvm-svn: 196610
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions