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
/
mn10300-tdep.c
diff --git
a/gdb/mn10300-tdep.c
b/gdb/mn10300-tdep.c
index 985821ce3ee8c2cbcc68f1e254c12e99d08e3cd0..b5e1fa7baecb24a8f7161ac03e0160ab6f543dd5 100644
(file)
--- a/
gdb/mn10300-tdep.c
+++ b/
gdb/mn10300-tdep.c
@@
-1403,7
+1403,7
@@
mn10300_gdbarch_init (struct gdbarch_info info,
if (arches != NULL)
return arches->gdbarch;
- tdep =
xmalloc (sizeof (struct gdbarch_tdep)
);
+ tdep =
XNEW (struct gdbarch_tdep
);
gdbarch = gdbarch_alloc (&info, tdep);
switch (info.bfd_arch_info->mach)
This page took
0.023971 seconds
and
4
git commands to generate.