Skip to content

Ship gdb with Visual Rust #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 3, 2015
Merged

Ship gdb with Visual Rust #169

merged 9 commits into from
Aug 3, 2015

Conversation

vosen
Copy link
Member

@vosen vosen commented Aug 3, 2015

Start bundling gdb (both i686 and x86_64) with Visual Rust. Support it from the UI and from the debugging launcher.
There are some caveats, that might require some reconsideration:

  • Whole mingw-builds distribution is downloaded at the start of the build (which comes together to something like ~110MB). It's done only once. I'd rather just download only the gdb, but from what I've remember msys2 is rolling release and win-builds doesn't work with Rust (and might be rolling release too, I'm not quite sure).
  • We ship with python interface, but I've gutted python distribution to a minimal set of files that don't crash the gdb.exe. This is probably not enought for debug visualizers, but I think we might be required to use VS native visualizers anyway (I've seen .natvis for Android in MIEngine sources). Related to Debug visualization of Rust data structures #160.

vosen added a commit that referenced this pull request Aug 3, 2015
Ship gdb with Visual Rust
@vosen vosen merged commit 7ae8508 into PistonDevelopers:master Aug 3, 2015
@ctaggart
Copy link

ctaggart commented Aug 3, 2015

I was going to blog on how I got I got things setup on Saturday. Adding a gdb was one of the harder parts. Looks like you are eliminating that step. 👍

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