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 XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git]
/
gdb
/
gdbtypes.c
diff --git
a/gdb/gdbtypes.c
b/gdb/gdbtypes.c
index e02b66c7aacb9211714784c7992bec5b182a47d9..042c17d4c6b66c5cf1787a118239bcb457a09955 100644
(file)
--- a/
gdb/gdbtypes.c
+++ b/
gdb/gdbtypes.c
@@
-3700,7
+3700,7
@@
copy_type_recursive (struct objfile *objfile,
int i, nfields;
nfields = TYPE_NFIELDS (type);
- TYPE_FIELDS (new_type) = XC
ALLOC (nfields, struct field
);
+ TYPE_FIELDS (new_type) = XC
NEWVEC (struct field, nfields
);
for (i = 0; i < nfields; i++)
{
TYPE_FIELD_ARTIFICIAL (new_type, i) =
This page took
0.024622 seconds
and
4
git commands to generate.