projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60535c
)
Use $decimal in timestamp.exp
author
Tom Tromey
<tom@tromey.com>
Wed, 28 Dec 2022 17:07:45 +0000
(10:07 -0700)
committer
Tom Tromey
<tom@tromey.com>
Wed, 28 Dec 2022 17:07:45 +0000
(10:07 -0700)
This patch fixes a review comment by Tom de Vries. He pointed out
that the new timestamp.exp should use the $decimal convenience regexp.
gdb/testsuite/gdb.base/timestamp.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/timestamp.exp
b/gdb/testsuite/gdb.base/timestamp.exp
index 3d124b450e5095d6dde8def172d7259a68aee7a1..c02b34391eb41ea16f350dff0b504627c0c62e32 100644
(file)
--- a/
gdb/testsuite/gdb.base/timestamp.exp
+++ b/
gdb/testsuite/gdb.base/timestamp.exp
@@
-21,4
+21,4
@@
clean_restart
gdb_test_no_output "set debug expression 1"
gdb_test_no_output "set debug timestamp 1"
-gdb_test "print 23" "
\[0-9\]+\\.\[0-9\]+
Operation: OP_LONG.* = 23"
+gdb_test "print 23" "
$decimal\\.$decimal
Operation: OP_LONG.* = 23"