Delete unnecessary code from kill_command
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-aarch64-low.c
index 87a21a0e7745e8e865267129cd37ab6dd1f8dd34..c58347d80ce622dda13bdce75c0daae2b48a8509 100644 (file)
@@ -1,7 +1,7 @@
 /* GNU/Linux/AArch64 specific low level interface, for the remote server for
    GDB.
 
-   Copyright (C) 2009-2019 Free Software Foundation, Inc.
+   Copyright (C) 2009-2020 Free Software Foundation, Inc.
    Contributed by ARM Ltd.
 
    This file is part of GDB.
@@ -83,7 +83,7 @@ is_sve_tdesc (void)
 {
   struct regcache *regcache = get_thread_regcache (current_thread, 0);
 
-  return regcache->tdesc->reg_defs.size () == AARCH64_SVE_NUM_REGS;
+  return tdesc_contains_feature (regcache->tdesc, "org.gnu.gdb.aarch64.sve");
 }
 
 static void
This page took 0.027474 seconds and 4 git commands to generate.