From: Jan Kratochvil Date: Sat, 17 Dec 2011 09:43:53 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e290cb1d1ecfda5e58742e0bdf3a6b76b9a2d74;p=binutils-gdb.git gdb/ Fix build regression from the PR threads/10729 fix. * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): Use LP, not LP->PTID. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 02c5d3b0a9c..b2bf0636c4f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-12-17 Jan Kratochvil + + Fix build regression from the PR threads/10729 fix. + * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): Use LP, + not LP->PTID. + 2011-12-16 Andrey Smirnov * mi/mi-main.c (mi_cmd_list_thread_groups): Rename `optind' and diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c index b1c3f11c753..d975015a7f7 100644 --- a/gdb/s390-nat.c +++ b/gdb/s390-nat.c @@ -532,7 +532,7 @@ s390_insert_watchpoint (CORE_ADDR addr, int len, int type, watch_base = area; ALL_LWPS (lp) - s390_fix_watch_points (lp->ptid); + s390_fix_watch_points (lp); return 0; } @@ -560,7 +560,7 @@ s390_remove_watchpoint (CORE_ADDR addr, int len, int type, xfree (area); ALL_LWPS (lp) - s390_fix_watch_points (lp->ptid); + s390_fix_watch_points (lp); return 0; }