aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2015-03-11 11:11:44 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-03-11 11:11:44 +0100
commit183961935e38267cf16cdcdcdfebcab07ab415d5 (patch)
tree8f5cfedf5e9fc65fa5c49c2eee7dc80e52a808d6 /gdb/ChangeLog
parentf728387b9adccc88edcde44f357f869e33943c6d (diff)
downloadgdb-183961935e38267cf16cdcdcdfebcab07ab415d5.zip
gdb-183961935e38267cf16cdcdcdfebcab07ab415d5.tar.gz
gdb-183961935e38267cf16cdcdcdfebcab07ab415d5.tar.bz2
S390: Defer PER info update until resume
For multi-threaded inferiors on S390 GNU/Linux targets, GDB tried to update the PER info via ptrace() in a newly attached thread before assuring that the thread is stopped. Depending on the timing, this could lead to a GDB internal error. The patch defers the PER info update until just before resuming the thread. gdb/ChangeLog: * s390-linux-nat.c (struct arch_lwp_info): New. (s390_fix_watch_points): Rename to... (s390_prepare_to_resume): ...this. Skip the PER info update unless the watch points have changed. (s390_refresh_per_info, s390_new_thread): New functions. (s390_insert_watchpoint): Call s390_refresh_per_info instead of s390_fix_watch_points. (s390_remove_watchpoint): Likewise. (_initialize_s390_nat): Reflect renaming of s390_fix_watch_points. Register s390_prepare_to_resume.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a5d9d42..9101efd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2015-03-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-nat.c (struct arch_lwp_info): New.
+ (s390_fix_watch_points): Rename to...
+ (s390_prepare_to_resume): ...this. Skip the PER info update
+ unless the watch points have changed.
+ (s390_refresh_per_info, s390_new_thread): New functions.
+ (s390_insert_watchpoint): Call s390_refresh_per_info instead of
+ s390_fix_watch_points.
+ (s390_remove_watchpoint): Likewise.
+ (_initialize_s390_nat): Reflect renaming of s390_fix_watch_points.
+ Register s390_prepare_to_resume.
+
2015-03-09 Pedro Alves <palves@redhat.com>
Revert: