-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Move ambient gdb discovery from compiletest to bootstrap #149710
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
base: main
Are you sure you want to change the base?
Conversation
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
|
@bors try jobs=arm-android,x86_64-mingw-1,test-various |
This comment has been minimized.
This comment has been minimized.
Move ambient gdb discovery from compiletest to bootstrap try-job: arm-android try-job: x86_64-mingw-1 try-job: test-various
This comment has been minimized.
This comment has been minimized.
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
|
@bors try jobs=arm-android,x86_64-mingw-1,test-various |
This comment has been minimized.
This comment has been minimized.
Move ambient gdb discovery from compiletest to bootstrap try-job: arm-android try-job: x86_64-mingw-1 try-job: test-various
|
💔 Test for 8f3e014 failed: CI. Failed jobs:
|
|
Hmm, I had been operating on the assumption that these Android flags were specific to debuginfo, but I guess that’s not the case. @rustbot author |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
While some of this information is needed by debugger discovery, it is also needed by non-debuginfo tests, so the code doesn't belong in the `debuggers` module.
|
@bors try jobs=arm-android,x86_64-mingw-1,test-various |
This comment has been minimized.
This comment has been minimized.
Move ambient gdb discovery from compiletest to bootstrap try-job: arm-android try-job: x86_64-mingw-1 try-job: test-various
|
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // Otherwise, fall back to whatever gdb is sitting around in PATH. | ||
| // (That's the historical behavior, but maybe we should require opt-in?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: I'm 100% in favor of opt-in, but that's a separate change.
|
@bors r+ rollup |
Move ambient gdb discovery from compiletest to bootstrap - Follow-up to rust-lang#148099 --- This code takes the compiletest code for discovering an “ambient” `gdb` in the user's path, and moves it to bootstrap. One of the eventual goals is to allow compiletest to assume that if it has been asked to run the debuginfo-gdb suite, then it *must* have been passed an explicit `--gdb`, though we aren't quite there yet. r? jieyouxu
This code takes the compiletest code for discovering an “ambient”
gdbin the user's path, and moves it to bootstrap.One of the eventual goals is to allow compiletest to assume that if it has been asked to run the debuginfo-gdb suite, then it must have been passed an explicit
--gdb, though we aren't quite there yet.r? jieyouxu