From 0a923a6adb9b5a69f03ecd899a0e04881ee5364c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 28 Dec 2022 10:07:45 -0700 Subject: 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. --- gdb/testsuite/gdb.base/timestamp.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb') 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" -- cgit v1.1