Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-03

Support for lldb ?

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hi,

After 2 days of struggle trying to get gdb to work on mac os sierra, I've given up. Apple clearly wants you to use lldb.

Is support for lldb for Lazarus planned ?

Michael.

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt
Michael Van Canneyt wrote
After 2 days of struggle trying to get gdb to work on mac os sierra, I've given up. Apple clearly wants you to use lldb.

I feel your pain, but at the hardware level. G*D DAMN APPLE! They are driving me insane! What an evil company, purposely breaking things so others can't use the stuff they created (and we legally bought).

[rant on]
eg: The Apple SuperDrive (their USB CD-ROM/DVD drive). What a pretty looking USB CD/DVD USB drive. You would think Apple would be proud selling that to anybody. Yeah right! It works perfectly with any Mac computer. Plug it into any PC, and it doesn't want to swallow any disk. They hacked the USB-to-IDE hardware interface in the SuperDrive, and purposely broke the USB-to-IDE interface standard, so only their drivers work. Luckily some hacker figured out what they did, and if you run FreeBSD and Linux it is pretty easy to fix. All you need to do when you want to use the Apple SuperDrive after it is plugged in, is to send it a 7 byte "wake-up" sequence. Then it behaves as normal and will accept CDs/DVDs without problem - until it is unplugged. Apple f***ers, you will not see another penny from me, ever again!
[rant off]

Regards,
Graeme

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: After 2 days of struggle trying to get gdb to work on mac os sierra, I've given up. Apple…
Michael Van Canneyt wrote
Is support for lldb for Lazarus planned ?

Maybe it's time the fpdebug (native Object Pascal debugger) gets some more attention, or the FPC team starts implementing there own debugger. What good is a compiler without a debugger (something I've been saying for years).

Last time I tested Lazarus's fpdebug, progress was going well, but unfortunately (and very strangely), only Windows was supported (maybe Linux now too?). No idea why, because lots of the code comes from the duby debugger project, and there Linux, Mac and Windows was supported. I forked duby and worked on 64-bit support and adding FreeBSD too.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Dmitry Boyarintsev
to Michael Van Canneyt: After 2 days of struggle trying to get gdb to work on mac os sierra, I've given up. Apple…

On Sat, Mar 18, 2017 at 9:20 AM, Michael Van Canneyt via Lazarus <

wrote: Is support for lldb for Lazarus planned ?

Technically, it should not be a problem.
lldb allows to debug any application, it's not llvm 'm actually using lldb a little bit, for iphone-laz extension. Nothing fancy - it launches a simulator and then hijacks its stdout (by redirecting it from the simulator app) to be shown on the IDE side. It works just fine for fpc compiled apps.

Back in a days (pre lldb era), I tried to adapt Apple's gdb for Lazarus needs, but couldn't figure out Lazarus debugger apis. (it was too gnu gdb oriented). It has changed since, but I didn't touch it.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170319/d0fd1de5/attachment.html>

Reply by email