Fix gdb.ada bp_fun_addr failure due to conflict between fun 'a' and s-dimmks.ads...
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 23 Dec 2018 20:05:58 +0000 (21:05 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 24 Dec 2018 12:11:12 +0000 (13:11 +0100)
commitb5a1e55720f294fd0d5e1ebc21ccc01083751acd
treec02afa493ce8370fffb9b42208f8ff811d5880c3
parent56334baf0c2d95e41737d084ade2e8c35baf1c31
Fix gdb.ada bp_fun_addr failure due to conflict between fun 'a' and s-dimmks.ads 'A'.

The test fails (timeout) due to:
  (gdb) PASS: gdb.ada/bp_fun_addr.exp: break *a'address
  run
  Starting program: /bd/home/philippe/gdb/git/build_info_t/gdb/testsuite/outputs/gdb.ada/bp_fun_addr/a
  Multiple matches for a
  [0] cancel
  [1] a at /bd/home/philippe/gdb/git/info_t/gdb/testsuite/gdb.ada/bp_fun_addr/a.adb:18
  [2] system.dim.mks.a at s-dimmks.ads:115
  > FAIL: gdb.ada/bp_fun_addr.exp: run until breakpoint at a'address (timeout)
  testcase /home/philippe/gdb/git/build_info_t/gdb/testsuite/../../../info_t/gdb/testsuite/gdb.ada/bp_fun_addr.exp completed in 10 seconds

Fix this by using a fun name that has more chances to be unique.

2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
Filename a.adb changed to bp_fun_addr.adb.
gdb.ada/bp_fun_addr.exp: Update test accordingly.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/bp_fun_addr.exp
gdb/testsuite/gdb.ada/bp_fun_addr/a.adb [deleted file]
gdb/testsuite/gdb.ada/bp_fun_addr/bp_fun_addr.adb [new file with mode: 0644]