aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r--gdb/gnu-v2-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index 466ae6c..c0200b2 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -294,7 +294,7 @@ static int
vb_match (struct type *type, int index, struct type *basetype)
{
struct type *fieldtype;
- const char *name = TYPE_FIELD_NAME (type, index);
+ const char *name = type->field (index).name ();
const char *field_class_name = NULL;
if (*name != '_')