From e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 7 Jun 2022 09:59:54 +0200 Subject: [PATCH] [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. --- gdb/selftest-arch.c | 6 ------ 1 file changed, 6 deletions(-) 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 -- 2.30.2