[gdb/testsuite] Fix gdb.base/relocate.exp with -readnow
authorTom de Vries <tdevries@suse.de>
Wed, 28 Oct 2020 20:04:12 +0000 (21:04 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 28 Oct 2020 20:04:12 +0000 (21:04 +0100)
commit32a5f98aa4b566411df304160b6ed69cc80d8f89
tree16ad1789d255c2f88ff86a8bce3720336a129bb3
parentf93b8760308333ef1113c213a5380719136f3f64
[gdb/testsuite] Fix gdb.base/relocate.exp with -readnow

With test-case gdb.base/relocate.exp and target board readnow, we get:
...
FAIL: gdb.base/relocate.exp: symbol-file with offset
FAIL: gdb.base/relocate.exp: add-symbol-file with offset
FAIL: gdb.base/relocate.exp: add-symbol-file with offset, text address given
FAIL: gdb.base/relocate.exp: add-symbol-file with offset, data address given
...

Fix these FAILs by updating the regexps for -readnow.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-10-28  Tom de Vries  <tdevries@suse.de>

* gdb.base/relocate.exp: Update regexp for -readnow.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/relocate.exp