gdb/
Fix build regression from the PR threads/10729 fix. * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): Use LP, not LP->PTID.
This commit is contained in:
parent
56934ab1ce
commit
3e290cb1d1
@ -1,3 +1,9 @@
|
||||
2011-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
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 <andrew.smirnov@gmail.com>
|
||||
|
||||
* mi/mi-main.c (mi_cmd_list_thread_groups): Rename `optind' and
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user