diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-01-25 23:55:37 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-01-25 23:55:37 +0000 |
| commit | 1a65ae11bd65d007391473f8bde3d06f4abad740 (patch) | |
| tree | 12bcbcdd2564d2bf305c3642ebe3a0b80128beb7 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
| parent | 3ae681eb1240f09af37936663760526ed1b324cf (diff) | |
| download | bcm5719-llvm-1a65ae11bd65d007391473f8bde3d06f4abad740.tar.gz bcm5719-llvm-1a65ae11bd65d007391473f8bde3d06f4abad740.zip | |
Enabled extra warnings and fixed a bunch of small issues.
llvm-svn: 124250
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index d83fb581c7e..6ec7dab1af1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1098,13 +1098,13 @@ ProcessGDBRemote::SetThreadStopInfo (StringExtractor& stop_packet) gdb_thread->SetName (thread_name.empty() ? thread_name.c_str() : NULL); if (exc_type != 0) { - const size_t exc_data_count = exc_data.size(); + const size_t exc_data_size = exc_data.size(); gdb_thread->SetStopInfo (StopInfoMachException::CreateStopReasonWithMachException (*thread_sp, exc_type, - exc_data_count, - exc_data_count >= 1 ? exc_data[0] : 0, - exc_data_count >= 2 ? exc_data[1] : 0)); + exc_data_size, + exc_data_size >= 1 ? exc_data[0] : 0, + exc_data_size >= 2 ? exc_data[1] : 0)); } else if (signo) { @@ -1230,7 +1230,7 @@ ProcessGDBRemote::InterruptIfRunning timeout_time.OffsetWithSeconds(5); StateType state = WaitForStateChangedEventsPrivate (&timeout_time, stop_event_sp); - const bool timed_out = state == eStateInvalid; + timed_out = state == eStateInvalid; if (log) log->Printf ("ProcessGDBRemote::InterruptIfRunning() catch stop event: state = %s, timed-out=%i", StateAsCString(state), timed_out); |

