From c6b1f3144911854cb5c14d51303af882372ae488 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 14 Apr 2023 19:07:13 -0700 Subject: [PATCH] Typo fix in src/etc/rust-gdb Co-authored-by: SNCPlay42 --- src/etc/rust-gdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/rust-gdb b/src/etc/rust-gdb index b04930425c0..9abed30ea6f 100755 --- a/src/etc/rust-gdb +++ b/src/etc/rust-gdb @@ -14,7 +14,7 @@ fi RUSTC_SYSROOT="$("$RUSTC" --print=sysroot)" GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc" # Get the commit hash for path remapping -RUSTC_COMMIT_HASH="$("$RUSTC" -vV | sed -n 's/commit-hash: \([a-zA-z0-9_]*\)/\1/p')" +RUSTC_COMMIT_HASH="$("$RUSTC" -vV | sed -n 's/commit-hash: \([a-zA-Z0-9_]*\)/\1/p')" # Run GDB with the additional arguments that load the pretty printers # Set the environment variable `RUST_GDB` to overwrite the call to a