diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-10-21 21:41:45 +0000 | 
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-10-21 21:41:45 +0000 | 
| commit | 596ed24e433d62606051fd0d0dcafdcb688e7698 (patch) | |
| tree | 6cfc6eb5765073db9672c2fa9afd885d434f304a /lldb/source/Plugins/Process/gdb-remote | |
| parent | 606a50a9f81d5c55fee3eb6d36934f9ac0989abf (diff) | |
| download | bcm5719-llvm-596ed24e433d62606051fd0d0dcafdcb688e7698.tar.gz bcm5719-llvm-596ed24e433d62606051fd0d0dcafdcb688e7698.zip | |
If a process plug-in was specified by name, always let the plug-in get used.
llvm-svn: 142688
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 70147d4dce5..2c50b6ea874 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -103,6 +103,9 @@ ProcessGDBRemote::CreateInstance (Target &target, Listener &listener)  bool  ProcessGDBRemote::CanDebug (Target &target, bool plugin_specified_by_name)  { +    if (plugin_specified_by_name) +        return true; +      // For now we are just making sure the file exists for a given module      Module *exe_module = target.GetExecutableModulePointer();      if (exe_module) | 

