aboutsummaryrefslogtreecommitdiff
path: root/binutils/elfedit.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-10-28 10:01:32 +0100
committerTom de Vries <tdevries@suse.de>2020-10-28 10:01:32 +0100
commit364bb90300750187bfe01baf890299fc25d20614 (patch)
treebe1e53a45dab2ef6e79c35bbaa55ba8651e9ca81 /binutils/elfedit.c
parent445a033f48d6adf3114bd771030aeb2803186c55 (diff)
downloadgdb-364bb90300750187bfe01baf890299fc25d20614.zip
gdb-364bb90300750187bfe01baf890299fc25d20614.tar.gz
gdb-364bb90300750187bfe01baf890299fc25d20614.tar.bz2
[gdb/testsuite] Fix gdb.cp/nsalias.exp with -readnow
When running test-case gdb.cp/nsalias.exp with target board readnow, we get: ... FAIL: gdb.cp/nsalias.exp: complaint for too many recursively imported \ declarations ... The complaint is not detected, because: - the complaint is triggered during the file command instead of during "print N100::x" - the "set complaints 1" is not effective because it's issued after the file command Fix the FAIL by setting the complaints limit earlier, and detecting the complaint also during the file command. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-10-28 Tom de Vries <tdevries@suse.de> * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg. * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect complaint during file command for -readnow.
Diffstat (limited to 'binutils/elfedit.c')
0 files changed, 0 insertions, 0 deletions