diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-12-17 09:43:53 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-12-17 09:43:53 +0000 |
commit | 3e290cb1d1ecfda5e58742e0bdf3a6b76b9a2d74 (patch) | |
tree | 18732be2dcf1a4be65a68fbf6d51384238a185f8 /gdb/s390-nat.c | |
parent | 56934ab1cea1a1569413c26ea3182525e4d335ed (diff) | |
download | gdb-3e290cb1d1ecfda5e58742e0bdf3a6b76b9a2d74.zip gdb-3e290cb1d1ecfda5e58742e0bdf3a6b76b9a2d74.tar.gz gdb-3e290cb1d1ecfda5e58742e0bdf3a6b76b9a2d74.tar.bz2 |
gdb/
Fix build regression from the PR threads/10729 fix.
* s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): Use LP,
not LP->PTID.
Diffstat (limited to 'gdb/s390-nat.c')
-rw-r--r-- | gdb/s390-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c index b1c3f11..d975015 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; } |