aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorAndreas Arnez <arnez at linux dot vnet dot ibm dot com>2013-11-05 18:43:50 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-11-06 21:44:31 +0100
commit6682d9595ed8d9b9bba5470bfd7fd1ccd378f19a (patch)
tree21f06984e24e3cd8d274d1be59ff1f3e33176305 /gdb/gdbserver/ChangeLog
parent1d946cb356d22867128b40b9560857f930b2b0b0 (diff)
downloadgdb-6682d9595ed8d9b9bba5470bfd7fd1ccd378f19a.zip
gdb-6682d9595ed8d9b9bba5470bfd7fd1ccd378f19a.tar.gz
gdb-6682d9595ed8d9b9bba5470bfd7fd1ccd378f19a.tar.bz2
S390: Fix TDB regset recognition
When checking for the presence of the TDB regset, the current code interprets ENODATA from PTRACE_GETREGSET as an indication that the TDB regset *could* occur on this system, but the inferior stopped outside a transaction. However, the Linux kernel actually reports ENODATA even on systems without the transactional execution facility. Thus the logic is now changed to check the TE field in the HWCAP as well. This version also checks the existence of the TDB regset -- just to be on the safe side when running on TE-enabled hardware with a kernel that does not offer the TDB regset for some reason. gdb/ * s390-linux-nat.c (s390_read_description): Consider the TE field in the HWCAP for determining 'have_regset_tdb'. gdbserver/ * linux-s390-low.c (HWCAP_S390_TE): New define. (s390_arch_setup): Consider the TE field in the HWCAP for determining 'have_regset_tdb'.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4f15cfb..9d514e5 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-06 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-s390-low.c (HWCAP_S390_TE): New define.
+ (s390_arch_setup): Consider the TE field in the HWCAP for
+ determining 'have_regset_tdb'.
+
2013-10-16 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/16014