Fix for compilation with a debug flag (DB_PTHREAD_LOG_EVENTS)

Hi,

Attached is a patch that fixes lldb compilation with the DB_PTHREAD_LOG_EVENTS flag (wrong variable in the call that has a wait_value).
I also added a '\n' to the end of each log.

Regards,

  Filipe

lldb-debug-pthread-fix.patch (4.61 KB)