aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bpf-opc.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-04-16 08:40:19 +0200
committerTom de Vries <tdevries@suse.de>2020-04-16 08:40:19 +0200
commitd191d716f38b41720c4955823fe6c178cf0786f0 (patch)
tree6460700095046d5466b15bb9f1dfad38467b02dc /opcodes/bpf-opc.h
parent2165dc8d90ef9618a1db9bc596f433b02b7cc54a (diff)
downloadgdb-d191d716f38b41720c4955823fe6c178cf0786f0.zip
gdb-d191d716f38b41720c4955823fe6c178cf0786f0.tar.gz
gdb-d191d716f38b41720c4955823fe6c178cf0786f0.tar.bz2
[gdb/testsuite] Fix maint-expand-symbols-header-file.exp for cc-with-gdb-index
With test-case gdb.base/maint-expand-symbols-header-file.exp and target board cc-with-gdb-index, we have: ... FAIL: gdb.base/maint-expand-symbols-header-file.exp: \ verify no symtabs are expanded ... By default, with partial symbols, we find the main function in the partial symbols, and derive the initial language setting from that, without expanding any psymtab. But that doesn't work with the indices, because the indices don't store the language with the symbols. So instead, the main psymtab is expanded to get the language of main, which causes the FAIL. Fix this by manually setting the language. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-04-16 Tom de Vries <tdevries@suse.de> * gdb.base/maint-expand-symbols-header-file.exp: Set language before loading exec.
Diffstat (limited to 'opcodes/bpf-opc.h')
0 files changed, 0 insertions, 0 deletions