[Lldb-commits] [lldb] r189295 - merge lldb-platform-work branch (and assorted fixes) into trunk

Ed Maste emaste at freebsd.org
Tue Aug 27 08:58:30 PDT 2013


On 26 August 2013 19:57, Daniel Malea <daniel.malea at intel.com> wrote:
> Author: dmalea
> Date: Mon Aug 26 18:57:52 2013
> New Revision: 189295

Hi Daniel,

It seems this introduces a build failure.  I can't easily commit a fix
for the next couple of days until I get home - would you take a look?

> @@ -135,8 +141,8 @@ Host::GetOSVersion(uint32_t &major,
>                     uint32_t &update)
>  {
>      struct utsname un;
> -    int status;

I presume this removal was just an accident.

> +    LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_HOST | LIBLLDB_LOG_PROCESS));
> +    error.LogIfError(log.get(), "::posix_spawnattr_init ( &attr )");

Missing #include of log header etc.

-Ed



More information about the lldb-commits mailing list