aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-10-07 12:07:55 -0600
committerTom Tromey <tromey@adacore.com>2020-10-07 12:07:55 -0600
commite86efb3310cf3aa9515cca07d0835b7e8af79b38 (patch)
treebc59ccb692939a92d5f153ed60041e121de294df /gdb
parenta038ffd88ecb8d994f5f51961529cf82945d61ba (diff)
downloadgdb-e86efb3310cf3aa9515cca07d0835b7e8af79b38.zip
gdb-e86efb3310cf3aa9515cca07d0835b7e8af79b38.tar.gz
gdb-e86efb3310cf3aa9515cca07d0835b7e8af79b38.tar.bz2
Rename some tests in find.exp
This renames some tests in find.exp, to avoid duplicate test names. gdb/testsuite/ChangeLog 2020-10-07 Tom Tromey <tromey@adacore.com> * gdb.base/find.exp: Rename some tests.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/find.exp12
2 files changed, 10 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7484d6e..6a02cfb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-07 Tom Tromey <tromey@adacore.com>
+
+ * gdb.base/find.exp: Rename some tests.
+
2020-10-06 Gary Benson <gbenson@redhat.com>
* gdb.base/list0.c (unused): Add __attribute__ ((used)).
diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp
index 6e11b77..68aef6c 100644
--- a/gdb/testsuite/gdb.base/find.exp
+++ b/gdb/testsuite/gdb.base/find.exp
@@ -109,11 +109,11 @@ gdb_test_no_output "set int16_search_buf\[10\] = 0x1234" ""
gdb_test "find /h &int16_search_buf\[0\], +sizeof(int16_search_buf), 0x1234" \
"${hex_number}.*<int16_search_buf\\+20>${one_pattern_found}" \
- "find 16-bit pattern"
+ "find 16-bit pattern /h"
gdb_test "find &int16_search_buf\[0\], +sizeof(int16_search_buf), (int16_t) 0x1234" \
"${hex_number}.*<int16_search_buf\\+20>${one_pattern_found}" \
- "find 16-bit pattern"
+ "find 16-bit pattern cast"
# Test 32-bit pattern.
@@ -121,11 +121,11 @@ gdb_test_no_output "set int32_search_buf\[10\] = 0x12345678" ""
gdb_test "find &int32_search_buf\[0\], +sizeof(int32_search_buf), (int32_t) 0x12345678" \
"${hex_number}.*<int32_search_buf\\+40>${one_pattern_found}" \
- "find 32-bit pattern"
+ "find 32-bit pattern cast"
gdb_test "find /w &int32_search_buf\[0\], +sizeof(int32_search_buf), 0x12345678" \
"${hex_number}.*<int32_search_buf\\+40>${one_pattern_found}" \
- "find 32-bit pattern"
+ "find 32-bit pattern /w"
# Test 64-bit pattern.
@@ -133,11 +133,11 @@ gdb_test_no_output "set int64_search_buf\[10\] = 0xfedcba9876543210LL" ""
gdb_test "find &int64_search_buf\[0\], +sizeof(int64_search_buf), (int64_t) 0xfedcba9876543210LL" \
"${hex_number}.*<int64_search_buf\\+80>${one_pattern_found}" \
- "find 64-bit pattern"
+ "find 64-bit pattern cast"
gdb_test "find /g &int64_search_buf\[0\], +sizeof(int64_search_buf), 0xfedcba9876543210LL" \
"${hex_number}.*<int64_search_buf\\+80>${one_pattern_found}" \
- "find 64-bit pattern"
+ "find 64-bit pattern /g"
# Test mixed-sized patterns.