aboutsummaryrefslogtreecommitdiff
path: root/gdb/i960-pinsn.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
commit4ed97c9a835c5d05a900e66b997eb6e77a141950 (patch)
tree3aac1dc65931f319327cf00df82e4fe0efc7b40d /gdb/i960-pinsn.c
parent9823e3f4c985eb5919103cc84acf2a6055ed724f (diff)
downloadgdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2
bzero -> memset
Diffstat (limited to 'gdb/i960-pinsn.c')
-rw-r--r--gdb/i960-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i960-pinsn.c b/gdb/i960-pinsn.c
index 941a45c..81fd8b2 100644
--- a/gdb/i960-pinsn.c
+++ b/gdb/i960-pinsn.c
@@ -99,7 +99,7 @@ mem( memaddr, word1, word2, noprint )
if ( mem_tab == NULL ){
mem_tab = (struct tabent *) xmalloc( MEM_SIZ );
- bzero( mem_tab, MEM_SIZ );
+ memset( mem_tab, '\0', MEM_SIZ );
for ( i = 0; mem_init[i].opcode != 0; i++ ){
j = mem_init[i].opcode - MEM_MIN;
mem_tab[j].name = mem_init[i].name;