PATCH for REVIEW: Fix [Bug 14806] platform status command prints less information on Linux than on Mac OS X

I’ve expanded PlatformLinux::GetStatus to work more like the Mac version (by calling Platform::GetStatus and then adding in the fields from uname in the same format). I’ve also fixed the test case for this to no longer expect failure.

Here’s the new output:

(lldb) platform status
Platform: host
Triple: x86_64–linux-gnu
OS Version: 3.2.0
Hostname: localhost
Kernel: Linux
Release: 3.2.0-41-generic
Version: #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013

Index: test/functionalities/platform/TestPlatformCommand.py

Looks fine to me.

Hi Matthew, welcome to LLDB!

I tried it out, and it looked good, so I committed in r182030.

Keep the fixes coming :slight_smile:

Dan