Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9c114ba
Add a basic gdbstub for lldb remote debugging
MaartenS11 Apr 1, 2026
5f9c4e4
Return fewer bytes if m goes out of bounds + disable reading from typ…
MaartenS11 Apr 1, 2026
f10e8ec
Also track the offset of the code section + adjustments to toHex to s…
MaartenS11 Apr 2, 2026
bd3dbe4
Allow reading outside of code section (needs refactor, since the code…
MaartenS11 Apr 2, 2026
84af10e
Seems like we just don't need the code section and the offset
MaartenS11 Apr 2, 2026
8122405
Correctly put return addresses in the callstack
MaartenS11 Apr 2, 2026
37d8cd3
Implement D packet
MaartenS11 Apr 3, 2026
26b0650
Return pc register when requesting registers
MaartenS11 Apr 3, 2026
93707b2
Support pausing the execution (0x03)
MaartenS11 Apr 3, 2026
958ce3d
Rename gdbstub to gdb-server and user args[1] as filename + minor cle…
MaartenS11 Apr 3, 2026
b4db32b
Use checkpoint.fidx_called to know if a primitive was called instead …
MaartenS11 Apr 3, 2026
14458e0
Support sb (step back) in the gdbstub
MaartenS11 Apr 3, 2026
29dcf5c
Fix qWasmLocal to use only function frames as lldb expects
MaartenS11 Apr 4, 2026
c653d5c
Use --port/-p to start debug server
MaartenS11 Apr 5, 2026
eab99e0
Use logback and slf4j to have proper logging in the GdbStub
MaartenS11 Apr 5, 2026
f2ce4b6
Add logback configuration that writes to stdout (DEBUG) + mio.log (TR…
MaartenS11 Apr 5, 2026
a0616bd
Use colors for log level + don't append in file + improved log messages
MaartenS11 Apr 5, 2026
10a1731
Advertise ReverseStep+ to lldb and fix "bs" being "sb"
MaartenS11 Apr 7, 2026
259e560
Allow stepping back by changing the step direction with QSetStepDir
MaartenS11 Apr 7, 2026
2699a1f
Report a history boundary error when stepping back too far
MaartenS11 Apr 9, 2026
cb2930d
Add reverse continue TODO
MaartenS11 Apr 10, 2026
3618b4e
Keep connection after detach, allowing lldb to re-connect later
MaartenS11 Apr 10, 2026
b523dd3
Send stop packet for breakpoints instead of S05
MaartenS11 Apr 12, 2026
097b6c2
Remove debugSourceMap from GdbStub since we no longer need it
MaartenS11 Apr 13, 2026
1587cb9
Use config to decide if we should use the emulator or not in gdbserve…
MaartenS11 Apr 13, 2026
dddd669
Minor cleanup to the GdbStub
MaartenS11 Apr 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ dependencies {
// Needed for AssemblyScript source mapping:
//implementation("com.atlassian.sourcemap:sourcemap:2.0.0")
implementation("com.google.code.gson:gson:2.11.0")

// Logging
implementation("ch.qos.logback:logback-classic:1.5.32")
}

tasks.test {
Expand Down
Loading
Loading