projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: add type::num_fields / type::set_num_fields
[deliverable/binutils-gdb.git]
/
gdb
/
buildsym.c
diff --git
a/gdb/buildsym.c
b/gdb/buildsym.c
index b9bcc33080abece60428d1dc2feb426a6694fb05..f66607cd736575377bfb24a7554b0961d266b02b 100644
(file)
--- a/
gdb/buildsym.c
+++ b/
gdb/buildsym.c
@@
-271,7
+271,7
@@
buildsym_compunit::finish_block_internal
}
if (nparams > 0)
{
-
TYPE_NFIELDS (ftype) = nparams
;
+
ftype->set_num_fields (nparams)
;
TYPE_FIELDS (ftype) = (struct field *)
TYPE_ALLOC (ftype, nparams * sizeof (struct field));
This page took
0.025303 seconds
and
4
git commands to generate.