Skip to content

Hook up LLDB debugger backend on linux#2440

Merged
bfiete merged 1 commit into
beefytech:masterfrom
mdsitton:Linux-LLDB
May 19, 2026
Merged

Hook up LLDB debugger backend on linux#2440
bfiete merged 1 commit into
beefytech:masterfrom
mdsitton:Linux-LLDB

Conversation

@mdsitton
Copy link
Copy Markdown
Contributor

With this the new lldb backend atleast works in linux now.

Also fix a couple of compilation issues, with tweaks to the cmake config.
@bfiete
Copy link
Copy Markdown
Collaborator

bfiete commented May 19, 2026

This appears to break macOS:

In file included from /Users/runner/work/Beef/Beef/IDEHelper/LinuxDebugger.cpp:2:
/Users/runner/work/Beef/Beef/IDEHelper/LinuxDebugger.h:3:1: error: unknown type name 'NS_BF_DBG_BEGIN'
    3 | NS_BF_DBG_BEGIN
      | ^
/Users/runner/work/Beef/Beef/IDEHelper/LinuxDebugger.h:8:14: error: expected ';' after top level declarator
    8 | NS_BF_DBG_END
      |              ^
      |              ;
/Users/runner/work/Beef/Beef/IDEHelper/LinuxDebugger.cpp:12:1: error: a type specifier is required for all declarations
   12 | USING_NS_BF_DBG;
      | ^
3 errors generated.

@bfiete
Copy link
Copy Markdown
Collaborator

bfiete commented May 19, 2026

Also I don't think there's a specific reason you needed to introduce a LinuxDebugger.cpp/h, I think it probably would have been best just to put it inside LLDBDebugger but put a conditional '#idef !defined BF_PLATFORM_WINDOWS` around it since that's the only exception to when you would want that code if LLDB_ENABLED were defined.

@bfiete
Copy link
Copy Markdown
Collaborator

bfiete commented May 19, 2026

Oh right there already was a LinuxDebugger. I would suggest deleting that, actually.

@bfiete bfiete merged commit ca1b1f9 into beefytech:master May 19, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants