diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2018-12-26 14:33:10 +0100 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2018-12-27 10:47:00 +0100 |
commit | 293bf1a719e88e063e75ae467c5aec101b59fbf6 (patch) | |
tree | 56c553c57a1094ccbcec447b42b804b2b35aaf0c /gdb/gdb-code-style.el | |
parent | 3cf139964eb2e2d3008174aa3d446797fce31240 (diff) | |
download | binutils-293bf1a719e88e063e75ae467c5aec101b59fbf6.zip binutils-293bf1a719e88e063e75ae467c5aec101b59fbf6.tar.gz binutils-293bf1a719e88e063e75ae467c5aec101b59fbf6.tar.bz2 |
Fix gdb.ada/fun_renaming.exp by using more unique names.
The test fails due to conflict between var 'next' and s-pooloc.adb next:
(gdb) print next(1)
Multiple matches for next
[0] cancel
[1] pack.next (integer) return integer at /bd/home/philippe/gdb/git/binutils-gdb/gdb/testsuite/gdb.ada/fun_renaming/pack.adb:19
[2] system.pool_local.next (system.address) return system.pool_local.acc_address at s-pooloc.adb:151
> FAIL: gdb.ada/fun_renaming.exp: print next(1) (timeout)
Fix by making the names and renamings more unique.
gdb/testsuite/ChangeLog
2018-12-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.ada/fun_renaming/pack.ads (Next): Rename to Fun_Rename_Test_Next.
(Renamed_Next): Rename to Renamed_Fun_Rename_Test_Next.
gdb.ada/fun_renaming/pack.adb (Next): Rename to Fun_Rename_Test_Next.
gdb.ada/fun_renaming/fun_renaming.adb (N): Rename to Fun_Rename_Test_N.
gdb.ada/fun_renaming.exp: Update accordingly.
Diffstat (limited to 'gdb/gdb-code-style.el')
0 files changed, 0 insertions, 0 deletions