diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-09-17 01:05:03 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-17 01:05:03 +0000 |
commit | 236888d0264685aa59f28c9e22a601ed98ece77e (patch) | |
tree | e90c20b18d1fb12230fb1ce8895ee848b3641dbd /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 2fd3d401f9fd1fd8779374a8de31532ad5dba0fc (diff) | |
download | bcm5719-llvm-236888d0264685aa59f28c9e22a601ed98ece77e.tar.gz bcm5719-llvm-236888d0264685aa59f28c9e22a601ed98ece77e.zip |
Foe x86_64/i386, piggyback the hardware index of the fired watchpoint in the exception
data sent back to the debugger. On the debugger side, use the opportunity during the
StopInfoMachException::CreateStopReasonWithMachException() method to set the hardware index
for the very watchpoint location.
llvm-svn: 139975
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 3bb551afd77..1fbcf5696aa 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1228,7 +1228,8 @@ ProcessGDBRemote::SetThreadStopInfo (StringExtractor& stop_packet) exc_type, exc_data_size, exc_data_size >= 1 ? exc_data[0] : 0, - exc_data_size >= 2 ? exc_data[1] : 0)); + exc_data_size >= 2 ? exc_data[1] : 0, + exc_data_size >= 3 ? exc_data[2] : 0)); } else { |