aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-30 13:23:49 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-30 13:23:49 +0000
commit4deab7378b2e02751de8e835f30b2233685afefd (patch)
tree10f8bc23e21d527f495000546448e7eeb3c22d41 /gdb/gnu-nat.c
parent7ed2b4e229a3996bc9a5594b8b3658eeff1deddb (diff)
downloadgdb-4deab7378b2e02751de8e835f30b2233685afefd.zip
gdb-4deab7378b2e02751de8e835f30b2233685afefd.tar.gz
gdb-4deab7378b2e02751de8e835f30b2233685afefd.tar.bz2
2003-09-30 Andrew Cagney <cagney@redhat.com>
* remote-vxsparc.c (vx_read_register): Replace bzero with memset. * remote-vxmips.c (vx_read_register): Ditto. * remote-vx68.c (vx_read_register): Ditto. * gnu-nat.c (inf_validate_procs): Ditto.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index a75b169..a61d577 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -1024,7 +1024,7 @@ inf_validate_procs (struct inf *inf)
/* The current thread we're considering. */
struct proc *thread = inf->threads;
- bzero (matched, sizeof (matched));
+ memset (matched, 0, sizeof (matched));
while (thread)
{