diff options
author | Tom Tromey <tom@tromey.com> | 2021-06-11 08:14:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-06-11 08:14:09 -0600 |
commit | 48ec4c05c68bfec4b79e95807bd82e0df4634a6c (patch) | |
tree | 27c232057de54ea162dcdbfcf7466063119f19d9 /gdb/ChangeLog | |
parent | 2748c1b17e37c5acfae9d5dbcc627350c3d38167 (diff) | |
download | fsf-binutils-gdb-48ec4c05c68bfec4b79e95807bd82e0df4634a6c.zip fsf-binutils-gdb-48ec4c05c68bfec4b79e95807bd82e0df4634a6c.tar.gz fsf-binutils-gdb-48ec4c05c68bfec4b79e95807bd82e0df4634a6c.tar.bz2 |
Implement Rust raw identifiers
This patch implements Rust raw identifiers in the lexer in gdb. There
was an earlier patch to do this, but the contributor didn't reply to
my email asking whether he had sorted out his copyright assignment.
This is relatively straightforward, but a small test suite addition
was needd to ensure that the new test is skipped on older versions of
rustc -- ones that predate the introduction of raw identifiers.
gdb/ChangeLog
2021-06-11 Tom Tromey <tom@tromey.com>
PR rust/23427
* rust-parse.c (rust_parser::lex_identifier): Handle raw
identifiers.
(rust_lex_tests): Add raw identifier tests.
gdb/testsuite/ChangeLog
2021-06-11 Tom Tromey <tom@tromey.com>
PR rust/23427
* lib/rust-support.exp (rust_compiler_version): New caching proc.
* gdb.rust/rawids.exp: New file.
* gdb.rust/rawids.rs: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 549ea69..30c2aa7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2021-06-11 Tom Tromey <tom@tromey.com> + + PR rust/23427 + * rust-parse.c (rust_parser::lex_identifier): Handle raw + identifiers. + (rust_lex_tests): Add raw identifier tests. + 2021-06-10 Simon Marchi <simon.marchi@polymtl.ca> * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name. |