diff options
author | Jean-Daniel Dupas <devlists@shadowlab.org> | 2013-12-23 22:32:54 +0000 |
---|---|---|
committer | Jean-Daniel Dupas <devlists@shadowlab.org> | 2013-12-23 22:32:54 +0000 |
commit | 9c517c0dd961578c8ce8e422c3629750de2e921e (patch) | |
tree | 1bb10c1e2cc341a0b3be2f045240593a9778e9d6 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | edb61f02b62b30bc81a5543b9c04c71c19336072 (diff) | |
download | bcm5719-llvm-9c517c0dd961578c8ce8e422c3629750de2e921e.tar.gz bcm5719-llvm-9c517c0dd961578c8ce8e422c3629750de2e921e.zip |
Remove wait_for_launch parameter from DoAttachToProcessWithName(). This parameter is redundant as this information is already provided by the ProcessAttachInfo parameter.
CC: lldb-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2463
llvm-svn: 197923
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 3c5525d4ba7..0cf3284ed4b 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1063,7 +1063,7 @@ ProcessGDBRemote::AttachInputReaderCallback } Error -ProcessGDBRemote::DoAttachToProcessWithName (const char *process_name, bool wait_for_launch, const ProcessAttachInfo &attach_info) +ProcessGDBRemote::DoAttachToProcessWithName (const char *process_name, const ProcessAttachInfo &attach_info) { Error error; // Clear out and clean up from any current state @@ -1090,7 +1090,7 @@ ProcessGDBRemote::DoAttachToProcessWithName (const char *process_name, bool wait { StreamString packet; - if (wait_for_launch) + if (attach_info.GetWaitForLaunch()) { if (!m_gdb_comm.GetVAttachOrWaitSupported()) { |