summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-11-03 22:12:50 +0000
committerPavel Labath <labath@google.com>2017-11-03 22:12:50 +0000
commita964012cd2480e71bf1b6cff6ca1d32371ab9e16 (patch)
tree04998efdd0e81a7f14de95d601f3c27d93f711d2 /lldb/source/Plugins/Process
parent068512dfb933b99f15a69880fb75d6832072eb2a (diff)
downloadbcm5719-llvm-a964012cd2480e71bf1b6cff6ca1d32371ab9e16.tar.gz
bcm5719-llvm-a964012cd2480e71bf1b6cff6ca1d32371ab9e16.zip
Remove ProcessGdbRemote::m_flags
The member is completely unused. Discussed on lldb-dev. llvm-svn: 317377
Diffstat (limited to 'lldb/source/Plugins/Process')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp3
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h5
2 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 5b4c1c5747e..df3da20bcde 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -244,7 +244,7 @@ bool ProcessGDBRemote::CanDebug(lldb::TargetSP target_sp,
//----------------------------------------------------------------------
ProcessGDBRemote::ProcessGDBRemote(lldb::TargetSP target_sp,
ListenerSP listener_sp)
- : Process(target_sp, listener_sp), m_flags(0), m_gdb_comm(),
+ : Process(target_sp, listener_sp),
m_debugserver_pid(LLDB_INVALID_PROCESS_ID), m_last_stop_packet_mutex(),
m_register_info(),
m_async_broadcaster(NULL, "lldb.process.gdb-remote.async-broadcaster"),
@@ -3255,7 +3255,6 @@ Status ProcessGDBRemote::DisableWatchpoint(Watchpoint *wp, bool notify) {
}
void ProcessGDBRemote::Clear() {
- m_flags = 0;
m_thread_list_real.Clear();
m_thread_list.Clear();
}
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
index 54a472d7332..0ab3a589271 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
@@ -263,7 +263,6 @@ protected:
eBroadcastBitAsyncThreadDidExit = (1 << 2)
};
- Flags m_flags; // Process specific flags (see eFlags enums)
GDBRemoteCommunicationClient m_gdb_comm;
std::atomic<lldb::pid_t> m_debugserver_pid;
std::vector<StringExtractorGDBRemote> m_stop_packet_stack; // The stop packet
@@ -324,10 +323,6 @@ protected:
void Clear();
- Flags &GetFlags() { return m_flags; }
-
- const Flags &GetFlags() const { return m_flags; }
-
bool UpdateThreadList(ThreadList &old_thread_list,
ThreadList &new_thread_list) override;
OpenPOWER on IntegriCloud