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: remove TYPE_NFIELDS macro
[deliverable/binutils-gdb.git]
/
gdb
/
gnu-v2-abi.c
diff --git
a/gdb/gnu-v2-abi.c
b/gdb/gnu-v2-abi.c
index d4cf6b95629c8152d376432a99ee3e5c85c335f6..9238f10986d9eb9f69a86bdc99250a60a60ece5f 100644
(file)
--- a/
gdb/gnu-v2-abi.c
+++ b/
gdb/gnu-v2-abi.c
@@
-348,7
+348,7
@@
gnuv2_baseclass_offset (struct type *type, int index,
if (BASETYPE_VIA_VIRTUAL (type, index))
{
/* Must hunt for the pointer to this virtual baseclass. */
if (BASETYPE_VIA_VIRTUAL (type, index))
{
/* Must hunt for the pointer to this virtual baseclass. */
- int i, len =
TYPE_NFIELDS (type
);
+ int i, len =
type->num_fields (
);
int n_baseclasses = TYPE_N_BASECLASSES (type);
/* First look for the virtual baseclass pointer
int n_baseclasses = TYPE_N_BASECLASSES (type);
/* First look for the virtual baseclass pointer
This page took
0.025451 seconds
and
4
git commands to generate.