aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-dcache.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-03-30 14:31:56 +0100
committerPedro Alves <pedro@palves.net>2022-05-17 10:31:36 +0100
commit8d08cccb0147025f028898542263e3f83259bba9 (patch)
tree37209f23fd55b8f0b41182ae1b1c31d4d4d3b1c0 /gdb/target-dcache.c
parent1fe69430d166bf287fe94a7fcecc7f867666ae5a (diff)
downloadfsf-binutils-gdb-8d08cccb0147025f028898542263e3f83259bba9.zip
fsf-binutils-gdb-8d08cccb0147025f028898542263e3f83259bba9.tar.gz
fsf-binutils-gdb-8d08cccb0147025f028898542263e3f83259bba9.tar.bz2
Avoid having to unload file in gdb.server/connect-with-no-symbol-file.exp
gdb.server/connect-with-no-symbol-file.exp's connect_no_symbol_file does: gdb_test "file" ".*" "discard symbol table" \ {Discard symbol table from `.*'\? \(y or n\) } "y" A following patch will make gdb_test expect the question out of GDB if one is passed down as argument to gdb_test. With that, this test starts failing. This is because connect_no_symbol_file is called in a loop, and the first time around, there's a loaded file, so "file" asks the "Discard symbol table ... ?" question, while in the following iterations there's no file, so there's no question. Fix this by not loading a file into GDB in the first place. Change-Id: I810c036b57842c4c5b47faf340466b0d446d1abc
Diffstat (limited to 'gdb/target-dcache.c')
0 files changed, 0 insertions, 0 deletions