Skip to content

remove GDB helpers - #12521

Open
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/gdb-helpers
Open

ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/gdb-helpers

Conversation

@ripatel-fd

Copy link
Copy Markdown
Contributor

no one should be debugging by hand anymore. much faster to use
LLM-assisted debug workflows.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 23:31
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

running

 ┌─ ⚡ PERF · e2b96c3 vs main@3a633f8 ─────────────────────────────────
 │ SUITE                               BASELINE          NEW         Δ
 │ replay tps, mainnet                        …            …         …
 │ bench tps, localnet              665,750 tps  669,029 tps  ·  +0.49%
+│ snapshot load, testnet                5.22 s       4.92 s  ▼  -5.60%
 │ mem total, mainnet                150.35 GiB   150.35 GiB  ·   0.00%
 │ mem total, testnet                 86.66 GiB    86.66 GiB  ·   0.00%
 │ clean compile, firedancer             3.18 s       3.17 s  ·  -0.24%
 │ binary size, firedancer             57.92 MB     57.92 MB  ·   0.00%
 ├─────────────────────────────────────────────────────────────────────
@@ RUNNING · replay pending · snapshot done · bench done @@
 └─────────────────────────────────────────────────────────────────────
history · 3 pushes
 ┌─ HISTORY · Δ vs main, per push, newest first ──────────────────────────────────
 │ HEAD         TPS    BENCH     SNAP    MEM·M    MEM·T  COMPILE   BINARY
+│ e2b96c3        …   +0.49%   -5.60%    0.00%    0.00%   -0.24%    0.00%
 │ 102df85   -0.06%   -0.30%   +0.06%    0.00%    0.00%   -0.06%    0.00%
 │ 62e9b47        …        …        …        …        …        …        …
 └────────────────────────────────────────────────────────────────────────────────

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The script-test runner still invokes the deleted Base58 test, causing clean-build CI script tests to fail.

No open issues 🎉

What changed in this PR

Removes Firedancer’s bundled debugger helpers and related development tooling.

Changes:

  • Removes embedded GDB Base58 printers, their tests, and build registration.
  • Deletes debugger wrappers and VS Code build/launch configurations.
  • Removes the ledger backtest’s --debug option.
File Description
src/​flamenco/​runtime/​tests/​run_ledger_backtest.sh Removes --debug handling.
src/​app/​shared/​gdb/​test_gdb_base58.sh Deletes the printer test script.
src/​app/​shared/​gdb/​test_gdb_base58.c Deletes printer test fixtures.
src/​app/​shared/​gdb/​Local.mk Removes helper and test build rules.
src/​app/​shared/​gdb/​fd_gdb_scripts.S Removes embedded GDB scripts.
src/​app/​shared/​gdb/​fd_gdb_scripts.h Deletes the helper linkage header.
src/​app/​shared/​gdb/​fd_base58_gdb.py Deletes Base58 printers and commands.
src/​app/​firedancer-dev/​main.c Removes the GDB helper include.
src/​app/​fddbg/​main.c Deletes the capability-enabled debugger wrapper.
src/​app/​fddbg/​Local.mk Removes the wrapper’s build target.
contrib/​tool/​fd_gdb Deletes the GDB launcher script.
contrib/​debug.gdb Deletes backtest debugger commands.
.vscode/​tasks.json Removes the editor build task.
.vscode/​launch.json Removes the editor launch configuration.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 23:34
mmcgee-jump
mmcgee-jump previously approved these changes Oct 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The script-test runner still invokes the deleted Base58 test, causing clean-build CI script tests to fail.

No open issues 🎉

Review effort: Balanced

no one should be debugging by hand anymore.  much faster to use
LLM-assisted debug workflows.
Copilot AI balanced review requested due to automatic review settings October 23, 2026 23:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The removals are consistently reflected in callers and build/test registrations, with no unresolved correctness issues identified.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

No deployments
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.

4 participants