? gdb/.aarch64-linux-nat.c.swp Index: gdb/aarch64-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/aarch64-linux-nat.c,v retrieving revision 1.4 diff -u -p -r1.4 aarch64-linux-nat.c --- gdb/aarch64-linux-nat.c 14 Feb 2013 13:50:30 -0000 1.4 +++ gdb/aarch64-linux-nat.c 27 Jul 2013 22:42:18 -0000 @@ -312,6 +312,7 @@ aarch64_linux_set_debug_regs (const stru const CORE_ADDR *addr; const unsigned int *ctrl; + memset (®s, 0, sizeof (regs)); iov.iov_base = ®s; iov.iov_len = sizeof (regs); count = watchpoint ? aarch64_num_wp_regs : aarch64_num_bp_regs;