Skip to content

Package gdb with Rust #34457

Open
Open
@brson

Description

gdb has first-class support for Rust now, and two active maintainers (@tromey @Manishearth). Let's package it with Rust. This will have lots of advantages:

  • All major platforms will get the same debugging experience
  • Debuging will be more reliable because users have the exact debugger we've actually tested with our toolchain
  • By controlling the producer and consumer of our DWARF we can evolve it quickly, move to Rust-specific DWARF

Steps:

  • Set up a fork in rust-lang-nursery
  • Modify it to produce a gdb with a Rust-specific name
  • Set up CI and packaging for gdb
  • Modify rust-buildbot / rust-packaging to add gdb to the manifest as an optional component
  • Figure out the best user experience for obtaining gdb via rustup

cc @michaelwoerister @rust-lang/tools What you think?

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions