gdb/rust: Handle printing structures containing strings
[deliverable/binutils-gdb.git] / gdb / s390-linux-nat.c
index 5f6c5be8e023a8f0d092816856df5efecdb8526d..e2f13def9de490d96ab8f94e096933c201100d10 100644 (file)
@@ -42,6 +42,7 @@
 #include <elf.h>
 #include <algorithm>
 #include "inf-ptrace.h"
+#include "linux-tdep.h"
 
 /* Per-thread arch-specific data.  */
 
@@ -1016,9 +1017,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.024663 seconds and 4 git commands to generate.