[gdb/testsuite] Add target board cc-with-gnu-debuglink.exp
authorTom de Vries <tdevries@suse.de>
Fri, 21 May 2021 16:11:12 +0000 (18:11 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 21 May 2021 16:11:12 +0000 (18:11 +0200)
commit778ae9ccc892c95132bb52067ea09bc363878f5f
tree97df231b199fef31948488c0e41abec4d65ea963
parentca43e66033ca0d72bb93837c9b1ab482977e06e6
[gdb/testsuite] Add target board cc-with-gnu-debuglink.exp

Add target board cc-with-gnu-debuglink.exp that splits off debuginfo into a
seperate .debug file and links to it using .gnu_debuglink.

Tested on x86_64-linux.

gdb/ChangeLog:

2021-05-21  Tom de Vries  <tdevries@suse.de>

PR testsuite/25047
* contrib/cc-with-tweaks.sh: Handle -l.

gdb/testsuite/ChangeLog:

2021-05-21  Tom de Vries  <tdevries@suse.de>

PR testsuite/25047
* boards/cc-with-gnu-debuglink.exp: New file.
gdb/ChangeLog
gdb/contrib/cc-with-tweaks.sh
gdb/testsuite/ChangeLog
gdb/testsuite/boards/cc-with-gnu-debuglink.exp [new file with mode: 0644]