[binutils-gdb] [gdb] Allow frv::fr300 in selftests

Tom de Vries vries@sourceware.org
Tue Jun 7 07:59:57 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf

commit e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Jun 7 09:59:54 2022 +0200

    [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:
---
 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


More information about the Gdb-cvs mailing list