From: Tom de Vries Date: Tue, 7 Jun 2022 07:59:54 +0000 (+0200) Subject: [gdb] Allow frv::fr300 in selftests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf;p=binutils-gdb.git [gdb] Allow frv::fr300 in selftests In skip_arch in gdb/selftest-arch.c we skip architecture fr300 because of PR20946, but the PR has been fixed by commit 0ae60c3ef45 ("Prevent an abort in the FRV disassembler if the target bfd name is unknown.") in Januari 2017. Remove the skipping of frv::fr300. Tested on x86_64-linux. --- diff --git a/gdb/selftest-arch.c b/gdb/selftest-arch.c index 33d7875c120..9e99098783e 100644 --- a/gdb/selftest-arch.c +++ b/gdb/selftest-arch.c @@ -28,12 +28,6 @@ namespace selftests { static bool skip_arch (const char *arch) { - if (strcmp ("fr300", arch) == 0) - { - /* PR 20946 */ - return true; - } - if (strcmp ("powerpc:EC603e", arch) == 0 || strcmp ("powerpc:e500mc", arch) == 0 || strcmp ("powerpc:e500mc64", arch) == 0