forked from Imagelibrary/binutils-gdb
gdb: introduce field::is_artificial / field::set_is_artificial
Add these two methods, rename the field to m_artificial to make it pseudo private. Change-Id: If3a3825473d1d79bb586a8a074b87bba9b43fb1a Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
4bea97df59
commit
321d8b3f28
@@ -277,7 +277,7 @@ buildsym_compunit::finish_block_internal
|
||||
if (sym->is_argument ())
|
||||
{
|
||||
ftype->field (iparams).set_type (sym->type ());
|
||||
TYPE_FIELD_ARTIFICIAL (ftype, iparams) = 0;
|
||||
ftype->field (iparams).set_is_artificial (false);
|
||||
iparams++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user