-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Spurious failure in debug-info/limited-debuginfo.rs with newer gdb (7.7). #12787
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
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Comments
We could change the output to |
Yes, I'd also fix it like this for now (I'll do so the day after tomorrow, at the latest). In the future, pretty printers should make this deterministic anyway. |
This was referenced Mar 12, 2014
michaelwoerister
added a commit
to michaelwoerister/rust
that referenced
this issue
Mar 14, 2014
…utput variations. Fixes issue rust-lang#12787.
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Aug 16, 2022
…, r=Veykril Make `Name` hold escaped name Resolves rust-lang#12787 Resolves rust-lang#99361 This PR effectively swaps `Name` and `EscapedName` in hir. In other words, it makes `Name` hold and print escaped raw identifiers and introduces another struct `UnescapedName` for cases where you need to print names without "r#" prefix. My rationale is that it makes it easier for us to format an escaped name into string, which is what we want when we serialize names in general. This is because we format a name into string usually when we are presenting it to the users and arguably they expect its escaped form as that's what they see and write in the source code. I split the change for `Name` into 3 commits to make it easier to follow but it also made some tests fail in the intermediate commits. I can squash them into a commit after the review if desired. I've also made similar changes for `ModPath` and `EscapedModPath` as it makes them consistent with `Name`. For reference, there was a brief discussion on this in [a zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/escaping.20.60Name.60s).
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
May 17, 2024
make [`from_str_radix_10`] skip constant context fixes: rust-lang#12731 --- changelog: make [`from_str_radix_10`] skip constant context
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently new versions of gdb (I'm seeing this with 7.7) changed the output of of
info functions
.E.g. instead of
static void limited-debuginfo::main();
it now outputsstatic void limited-debuginfo::main(void);
.Output is as follows:
The text was updated successfully, but these errors were encountered: