projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hurd: fix gnu_debug_flag type
[deliverable/binutils-gdb.git]
/
gdb
/
eval.c
diff --git
a/gdb/eval.c
b/gdb/eval.c
index 069cf5ddbc42881525034f57c5ec46cee4c4d7aa..20533abf93d0f72aa5100e711d06e1b5f8fedf6b 100644
(file)
--- a/
gdb/eval.c
+++ b/
gdb/eval.c
@@
-296,8
+296,7
@@
evaluate_struct_tuple (struct value *struct_val,
fieldno++;
/* Skip static fields. */
while (fieldno < struct_type->num_fields ()
fieldno++;
/* Skip static fields. */
while (fieldno < struct_type->num_fields ()
- && field_is_static (&TYPE_FIELD (struct_type,
- fieldno)))
+ && field_is_static (&struct_type->field (fieldno)))
fieldno++;
if (fieldno >= struct_type->num_fields ())
error (_("too many initializers"));
fieldno++;
if (fieldno >= struct_type->num_fields ())
error (_("too many initializers"));
@@
-692,7
+691,7
@@
fake_method::fake_method (type_instance_flags flags,
fake_method::~fake_method ()
{
fake_method::~fake_method ()
{
- xfree (
TYPE_FIELDS (&m_type
));
+ xfree (
m_type.fields (
));
}
/* Helper for evaluating an OP_VAR_VALUE. */
}
/* Helper for evaluating an OP_VAR_VALUE. */
This page took
0.023905 seconds
and
4
git commands to generate.