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_FIELD macro
[deliverable/binutils-gdb.git]
/
gdb
/
p-valprint.c
diff --git
a/gdb/p-valprint.c
b/gdb/p-valprint.c
index 284dc85bf8c816434c241f44d2d259c164bd6b4b..cf902ac7fbe1758ae2442887ae69e11f7625ca75 100644
(file)
--- a/
gdb/p-valprint.c
+++ b/
gdb/p-valprint.c
@@
-553,7
+553,7
@@
pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
{
/* If requested, skip printing of static fields. */
if (!options->pascal_static_field_print
{
/* If requested, skip printing of static fields. */
if (!options->pascal_static_field_print
- && field_is_static (&
TYPE_FIELD (type,
i)))
+ && field_is_static (&
type->field (
i)))
continue;
if (fields_seen)
fprintf_filtered (stream, ", ");
continue;
if (fields_seen)
fprintf_filtered (stream, ", ");
@@
-582,7
+582,7
@@
pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
annotate_field_begin (TYPE_FIELD_TYPE (type, i));
annotate_field_begin (TYPE_FIELD_TYPE (type, i));
- if (field_is_static (&
TYPE_FIELD (type,
i)))
+ if (field_is_static (&
type->field (
i)))
{
fputs_filtered ("static ", stream);
fprintf_symbol_filtered (stream,
{
fputs_filtered ("static ", stream);
fprintf_symbol_filtered (stream,
@@
-597,7
+597,7
@@
pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
fputs_filtered (" = ", stream);
annotate_field_value ();
fputs_filtered (" = ", stream);
annotate_field_value ();
- if (!field_is_static (&
TYPE_FIELD (type,
i))
+ if (!field_is_static (&
type->field (
i))
&& TYPE_FIELD_PACKED (type, i))
{
struct value *v;
&& TYPE_FIELD_PACKED (type, i))
{
struct value *v;
@@
-636,7
+636,7
@@
pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
fputs_styled ("<optimized out or zero length>",
metadata_style.style (), stream);
}
fputs_styled ("<optimized out or zero length>",
metadata_style.style (), stream);
}
- else if (field_is_static (&
TYPE_FIELD (type,
i)))
+ else if (field_is_static (&
type->field (
i)))
{
/* struct value *v = value_static_field (type, i);
v4.17 specific. */
{
/* struct value *v = value_static_field (type, i);
v4.17 specific. */
This page took
0.024885 seconds
and
4
git commands to generate.