[patch] lldb-platform-work branch freebsd updates

Hello Enrico,

here is a patch to update the lldb-platform-work branch to fix building on FreeBSD and also this patch contains some changes for the freebsd parts.
The following changes have been made:

  • added Makefile for Platform/POSIX
  • updated the lib/Makefile to link liblldbPlatformPOSIX.a
  • removed ProcessPOSIX::UpdateThreadListIfNeeded. The method of the base class is not a virtual method, becaue of it the ProcessPOSIX::UpdateThreadListIfNeeded method is useless
  • updated UpdateThreadList methods in according of previous API changes

Would you review and apply this patch if it looks ok?

Thanks.
Viktor.

lldb-platform-work-freebsd-updates.patch (8.74 KB)

Here it goes.

Sending lib/Makefile
Sending source/Commands/CommandObjectPlatform.cpp
Sending source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
Sending source/Plugins/Platform/Makefile
Sending source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
Sending source/Plugins/Process/FreeBSD/ProcessFreeBSD.h
Sending source/Plugins/Process/POSIX/ProcessPOSIX.cpp
Sending source/Plugins/Process/POSIX/ProcessPOSIX.h
Sending source/lldb.cpp
Transmitting file data …
Committed revision 154599.

Thanks!

Enrico Granata
:email: egranata@.com
✆ (four oh eight) 862-7683

Hi Enrico!

The patch should create a new Makefile file in source/Plugins/Platform/POSIX. Would you add this file in the repository on your side and commit it?
I have attached a patch with this file to this email just in case.

Thanks.
Viktor.

lldb-platform-work-Platform-POSIX-Makefile.patch (710 Bytes)