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
/
m32c-tdep.c
diff --git
a/gdb/m32c-tdep.c
b/gdb/m32c-tdep.c
index 60b5cfb6420879f2dade14a2b318f39741e942e3..3be74057a51d2ccca56fdc2dcdac1ceb0b43774c 100644
(file)
--- a/
gdb/m32c-tdep.c
+++ b/
gdb/m32c-tdep.c
@@
-2638,7
+2638,7
@@
m32c_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
arches = gdbarch_list_lookup_by_info (arches->next, &info))
return arches->gdbarch;
- tdep =
xcalloc (1, sizeof (*tdep)
);
+ tdep =
XCNEW (struct gdbarch_tdep
);
arch = gdbarch_alloc (&info, tdep);
/* Essential types. */
This page took
0.026314 seconds
and
4
git commands to generate.