aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/s390-linux-nat.c')
-rw-r--r--gdb/s390-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c
index 60c549a..8d3ed55 100644
--- a/gdb/s390-linux-nat.c
+++ b/gdb/s390-linux-nat.c
@@ -1019,7 +1019,7 @@ s390_linux_nat_target::read_description ()
{
CORE_ADDR hwcap = 0;
- target_auxv_search (target_stack, AT_HWCAP, &hwcap);
+ 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);