mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
gdb: Make test names unique in list.exp.
gdb/testsuite/ChangeLog: * gdb.base/list.exp (test_list): Make test names unique.
This commit is contained in:
parent
1a48ce7677
commit
5c000dff26
@ -1,3 +1,7 @@
|
||||
2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* gdb.base/list.exp (test_list): Make test names unique.
|
||||
|
||||
2015-12-11 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* gdb.base/coremaker2.c: Remove.
|
||||
|
@ -578,9 +578,13 @@ proc test_list {command listsize1 listsize2 linerange1 linerange2} {
|
||||
# Test changing the listsize both before nexting, and after
|
||||
# stopping, but before listing. Only the second listsize
|
||||
# change should affect which lines are listed.
|
||||
gdb_test_no_output "set listsize $listsize1"
|
||||
with_test_prefix "before next" {
|
||||
gdb_test_no_output "set listsize $listsize1"
|
||||
}
|
||||
gdb_test "next" "foo \\(.*"
|
||||
gdb_test_no_output "set listsize $listsize2"
|
||||
with_test_prefix "after next" {
|
||||
gdb_test_no_output "set listsize $listsize2"
|
||||
}
|
||||
|
||||
set pattern1 [build_pattern $linerange1]
|
||||
set pattern2 [build_pattern $linerange2]
|
||||
|
Loading…
Reference in New Issue
Block a user