[gdb/contrib] Fix gdb/contrib/gdb-add-index.sh for dwz-m-ed execs
authorTom de Vries <tdevries@suse.de>
Sun, 16 Jun 2019 21:57:17 +0000 (23:57 +0200)
committerTom de Vries <tdevries@suse.de>
Sun, 16 Jun 2019 21:57:17 +0000 (23:57 +0200)
commit2b9f6e89d67b342593734d14f328625848fa5156
tree01298102e30da46d1308d55c31f40aa2c25bd962
parent431b3eadc4f842231d404e7e995ae5c1dbd28414
[gdb/contrib] Fix gdb/contrib/gdb-add-index.sh for dwz-m-ed execs

Atm gdb-add-index.exp fails with target board cc-with-dwz-m.

Fix this by updating gdb/contrib/gdb-add-index.sh to handle a dwz-m-ed
executable.

Tested on x86_64-linux.

gdb/ChangeLog:

2019-06-16  Tom de Vries  <tdevries@suse.de>

PR gdb/24445
* contrib/gdb-add-index.sh: Update to handle dwz-m-ed executable.
gdb/ChangeLog
gdb/contrib/gdb-add-index.sh