diff options
author | Tom Tromey <tromey@adacore.com> | 2025-07-08 08:52:59 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-07-08 08:53:48 -0600 |
commit | ff38d7218d23b807fb03ddbd7ebba6cc0aed5364 (patch) | |
tree | 0cb08f2ac0b0866d2972dcc2cb5a56d2349a69c5 | |
parent | 89e55ca4fa243bb4d74f54db63a6f401251457f9 (diff) | |
download | binutils-ff38d7218d23b807fb03ddbd7ebba6cc0aed5364.zip binutils-ff38d7218d23b807fb03ddbd7ebba6cc0aed5364.tar.gz binutils-ff38d7218d23b807fb03ddbd7ebba6cc0aed5364.tar.bz2 |
Fix wchar.exp test case per review
A recent patch of mine modified wchar.exp, but I failed to notice one
part of the review. This patch updates the code to conform to the
review comments.
-rw-r--r-- | gdb/testsuite/gdb.base/wchar.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/wchar.exp b/gdb/testsuite/gdb.base/wchar.exp index 7f09e81..f0e4777 100644 --- a/gdb/testsuite/gdb.base/wchar.exp +++ b/gdb/testsuite/gdb.base/wchar.exp @@ -74,5 +74,5 @@ gdb_test "print repeat_p" "= $hex L\"A$cent$cent\"\.\.\." \ gdb_test "printf \"%ls\\n\", 0" "\\(null\\)" # From PR exp/33124 - a bug when converting escapes. -set result [string_to_regexp {L'\\'}] -gdb_test "print L'\\\\'" " = $decimal $result" +set wbs {L'\\'} +gdb_test "print $wbs" " = $decimal [string_to_regexp $wbs]" |