diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2013-08-27 21:01:01 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2013-08-27 21:01:01 +0000 |
| commit | bb247fb58a15ad0e6c3e874a066cc13cd38e3719 (patch) | |
| tree | 73c62f5b821a508f7727003bd9c2a87a6af8adb8 /lldb/source/Commands | |
| parent | 4244cbd9be15e4185ac2effd82140bba91118f80 (diff) | |
| download | bcm5719-llvm-bb247fb58a15ad0e6c3e874a066cc13cd38e3719.tar.gz bcm5719-llvm-bb247fb58a15ad0e6c3e874a066cc13cd38e3719.zip | |
Fix 'platform shell' command for Linux host and remote lldb-platform connections
- add default timeout of 10s (unil qPlatform_RunCommand supports timeout packets and CommandObjectPlatform is updated to read a timeout flag/setting)
- add a few tests for platform shell
llvm-svn: 189405
Diffstat (limited to 'lldb/source/Commands')
| -rw-r--r-- | lldb/source/Commands/CommandObjectPlatform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp index 68a1dec1cb9..09942f96753 100644 --- a/lldb/source/Commands/CommandObjectPlatform.cpp +++ b/lldb/source/Commands/CommandObjectPlatform.cpp @@ -1949,7 +1949,8 @@ public: public: CommandOptions (CommandInterpreter &interpreter) : - Options(interpreter) + Options(interpreter), + timeout(10) { } @@ -1999,7 +2000,6 @@ public: virtual void OptionParsingStarting () { - timeout = 10; } // Options table: Required for subclasses of Options. |

