Skip to content

Commit 0a923a6

Browse files
committed
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.
1 parent a60535c commit 0a923a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdb/testsuite/gdb.base/timestamp.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ clean_restart
2121
gdb_test_no_output "set debug expression 1"
2222
gdb_test_no_output "set debug timestamp 1"
2323

24-
gdb_test "print 23" "\[0-9\]+\\.\[0-9\]+ Operation: OP_LONG.* = 23"
24+
gdb_test "print 23" "$decimal\\.$decimal Operation: OP_LONG.* = 23"

0 commit comments

Comments
 (0)