projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git]
/
gdb
/
v850-tdep.c
diff --git
a/gdb/v850-tdep.c
b/gdb/v850-tdep.c
index 5698fa9cb2a7160b392c25e4a7d7e63c0d2c7532..401c3597b028e413c754feea388abe245515c373 100644
(file)
--- a/
gdb/v850-tdep.c
+++ b/
gdb/v850-tdep.c
@@
-1380,7
+1380,7
@@
v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
return arches->gdbarch;
}
- tdep =
(struct gdbarch_tdep *) xmalloc (sizeof (struct gdbarch_tdep)
);
+ tdep =
XNEW (struct gdbarch_tdep
);
tdep->e_flags = e_flags;
tdep->e_machine = e_machine;
This page took
0.024665 seconds
and
4
git commands to generate.