Add linux_get_hwcap
[deliverable/binutils-gdb.git] / gdb / s390-linux-nat.c
index 5f6c5be8e023a8f0d092816856df5efecdb8526d..3a3afae7a6ea7569ec8cf4dbabc681ab39f7ae92 100644 (file)
@@ -1016,9 +1016,8 @@ s390_linux_nat_target::read_description ()
      that mode, report s390 architecture with 64-bit GPRs.  */
 #ifdef __s390x__
   {
-    CORE_ADDR hwcap = 0;
+    CORE_ADDR hwcap = linux_get_hwcap (current_top_target ());
 
-    target_auxv_search (current_top_target (), AT_HWCAP, &hwcap);
     have_regset_tdb = (hwcap & HWCAP_S390_TE)
       && check_regset (tid, NT_S390_TDB, s390_sizeof_tdbregset);
 
This page took 0.024362 seconds and 4 git commands to generate.