X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fs390-linux-nat.c;h=ae0e2c6d94106d244ed03638a66a0c8fad823c56;hb=173981bc49c9e8fce9271cb47714952dbe2ec627;hp=360d76170ba00aff37995f58ac9198f7323b64ba;hpb=2b4cab865440e2c61d72da31a1a5045c840c60fe;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c index 360d76170b..ae0e2c6d94 100644 --- a/gdb/s390-linux-nat.c +++ b/gdb/s390-linux-nat.c @@ -1,5 +1,5 @@ /* S390 native-dependent code for GDB, the GNU debugger. - Copyright (C) 2001-2015 Free Software Foundation, Inc. + Copyright (C) 2001-2016 Free Software Foundation, Inc. Contributed by D.J. Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) for IBM Deutschland Entwicklung GmbH, IBM Corporation. @@ -554,11 +554,11 @@ s390_new_thread (struct lwp_info *lp) static int s390_insert_watchpoint (struct target_ops *self, - CORE_ADDR addr, int len, int type, + CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond) { struct lwp_info *lp; - struct watch_area *area = xmalloc (sizeof (struct watch_area)); + struct watch_area *area = XNEW (struct watch_area); if (!area) return -1; @@ -576,7 +576,7 @@ s390_insert_watchpoint (struct target_ops *self, static int s390_remove_watchpoint (struct target_ops *self, - CORE_ADDR addr, int len, int type, + CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond) { struct lwp_info *lp; @@ -605,7 +605,7 @@ s390_remove_watchpoint (struct target_ops *self, static int s390_can_use_hw_breakpoint (struct target_ops *self, - int type, int cnt, int othertype) + enum bptype type, int cnt, int othertype) { return type == bp_hardware_watchpoint; }