Rust Rewrite Index

gdb

GNU Debugger

Rust efforts

Research record · 2026-11-29

Searched GNU GDB Rust rewrite, remote serial protocol, gdbstub and Rust debuggers. The protocol stub and independent debugger are distinct from a GDB port; the rust-dev-tools GDB repository is a C/C++ GDB fork for debugging Rust. No direct Rust port surfaced in these sources.

Original source check. The packaged source tree includes 20 files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

gdbstub

Embeddable implementation of the server side of GDB remote serial protocol, allowing an actual GDB client to debug a target; it is not GDB itself.

Evidence checked 2026-11-29
Rust alternative

BugStalker

Independent Rust debugger for Linux x86-64 focused on Rust programs, not a source port of GDB.

Evidence checked 2026-11-29

Project structure

GDB is a source-level debugger, capable of breaking programs at any specific line, displaying variable values, and determining where errors occurred. Currently, gdb supports C, C++, D, Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2, Go, and Ada. A must-have for any serious programmer.

Inside the source tree

  • gdb/ · 7,358 indexed files
  • sim/ · 3,807 indexed files
  • bfd/ · 536 indexed files
  • gnulib/ · 438 indexed files
  • opcodes/ · 346 indexed files

Source files by extension in this snapshot · C (3,889), Assembly (394), C++ (380), Python (163), Rust (20)

Selected components packaged from this source in Debian 13.

  • gdb · GNU Debugger
  • gdbserver · GNU Debugger (remote server)
  • gdb-source · GNU Debugger (source)
  • gdb-minimal · GNU Debugger (minimal version - dummy transitional package)
  • gdb-multiarch · GNU Debugger (with support for multiple architectures)