aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-utils.cc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-11-15 14:00:41 +0100
committerTom de Vries <tdevries@suse.de>2022-11-15 14:00:41 +0100
commit08d237dd4ebdcc0a13cac1dc57cd73de067d2f98 (patch)
treed7989c288ff5b9b4a83f214cfca31db9077efa78 /gdbsupport/common-utils.cc
parentc7d0901842fc1b4391e1d7663608b7b43edd9fde (diff)
downloadbinutils-08d237dd4ebdcc0a13cac1dc57cd73de067d2f98.zip
binutils-08d237dd4ebdcc0a13cac1dc57cd73de067d2f98.tar.gz
binutils-08d237dd4ebdcc0a13cac1dc57cd73de067d2f98.tar.bz2
[gdb/testssuite] Skip aarch64 in skip_gdbserver_test if no xml support
On aarch64-linux, with a gdb build without libexpat, so without xml support, I run into: ... (gdb) builtin_spawn attach-no-multi-process^M attach 26808^M Attaching to Remote target^M warning: Can not parse XML target description; XML support was disabled at \ compile time^M Reading symbols from attach-no-multi-process...^M Remote 'g' packet reply is too long (expected 788 bytes, got 796 bytes): ... ^M ... The test-case checks for skip_gdbserver_tests and that one contains a check for xml support: ... # If GDB is lack of XML support, and targets, like arm, have # multiple target descriptions, GDB doesn't know which target # description GDBserver uses, and may fail to parse 'g' packet # after connection. if { [gdb_skip_xml_test] && ([istarget "arm*-*-linux*"] || [istarget "mips*-*-linux*"] || [istarget "powerpc*-*-linux*"] || [istarget "s390*-*-linux*"] || [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"]) } { return 1 } ... but it doesn't trigger because aarch64 is missing. Fix this by adding istarget "aarch64*-*-linux*". Tested on aarch64-linux. Approved-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'gdbsupport/common-utils.cc')
0 files changed, 0 insertions, 0 deletions