diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index b9bcc33..f66607c 100644 --- 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)); |