diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-28 10:07:45 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-12-28 10:07:45 -0700 |
commit | 0a923a6adb9b5a69f03ecd899a0e04881ee5364c (patch) | |
tree | a98c72c3de0155ca7f04906c3e1bbd64dc50d688 | |
parent | a60535c39ba52d88c47740db6ab116db32e2331a (diff) | |
download | binutils-0a923a6adb9b5a69f03ecd899a0e04881ee5364c.zip binutils-0a923a6adb9b5a69f03ecd899a0e04881ee5364c.tar.gz binutils-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.
-rw-r--r-- | gdb/testsuite/gdb.base/timestamp.exp | 2 |
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" |