diff options
author | Zachary Turner <zturner@google.com> | 2015-05-13 19:44:44 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-05-13 19:44:44 +0000 |
commit | 1aa755ce772a311a1c5280578d6303be8d088203 (patch) | |
tree | 035814bfbba814f7895eadd90e444460b1b5adc4 /lldb/source/Plugins/Process/gdb-remote | |
parent | 7271bab3bbe73b801896598012ef5d66e178e4e9 (diff) | |
download | bcm5719-llvm-1aa755ce772a311a1c5280578d6303be8d088203.tar.gz bcm5719-llvm-1aa755ce772a311a1c5280578d6303be8d088203.zip |
Remove DoAttachToProcessWithId(lldb::pid_t).
There were two versions of DoAttachToprocessWithId. One that takes
a pid_t, and the other which takes a pid_t and a ProcessAttachInfo.
There were no callers of the former version, and all of the
implementations of this version were simply forwarding calls to
one version or the other.
llvm-svn: 237281
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 7 | ||||
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 01c48d75822..1526b0911a1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1301,13 +1301,6 @@ ProcessGDBRemote::DidLaunch () } Error -ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid) -{ - ProcessAttachInfo attach_info; - return DoAttachToProcessWithID(attach_pid, attach_info); -} - -Error ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) { Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PROCESS)); diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index e9d117c12db..a6c2d107dc1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -105,9 +105,6 @@ public: Error WillLaunchOrAttach (); - - Error - DoAttachToProcessWithID (lldb::pid_t pid) override; Error DoAttachToProcessWithID (lldb::pid_t pid, const ProcessAttachInfo &attach_info) override; |