aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-28 10:07:45 -0700
committerTom Tromey <tom@tromey.com>2022-12-28 10:07:45 -0700
commit0a923a6adb9b5a69f03ecd899a0e04881ee5364c (patch)
treea98c72c3de0155ca7f04906c3e1bbd64dc50d688 /gdb
parenta60535c39ba52d88c47740db6ab116db32e2331a (diff)
downloadgdb-0a923a6adb9b5a69f03ecd899a0e04881ee5364c.zip
gdb-0a923a6adb9b5a69f03ecd899a0e04881ee5364c.tar.gz
gdb-0a923a6adb9b5a69f03ecd899a0e04881ee5364c.tar.bz2
Use $decimal in timestamp.exp
This patch fixes a review comment by Tom de Vries. He pointed out that the new timestamp.exp should use the $decimal convenience regexp.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/timestamp.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/timestamp.exp b/gdb/testsuite/gdb.base/timestamp.exp
index 3d124b4..c02b343 100644
--- 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"