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
/
typeprint.c
diff --git
a/gdb/typeprint.c
b/gdb/typeprint.c
index a46f6a564c059956b1916e32bfa78d8f4b410046..3d1204e244c972f87abb3d3fd516dc88810d911a 100644
(file)
--- a/
gdb/typeprint.c
+++ b/
gdb/typeprint.c
@@
-110,7
+110,7
@@
void
print_offset_data::update (struct type *type, unsigned int field_idx,
struct ui_file *stream)
{
print_offset_data::update (struct type *type, unsigned int field_idx,
struct ui_file *stream)
{
- if (field_is_static (&
TYPE_FIELD (type,
field_idx)))
+ if (field_is_static (&
type->field (
field_idx)))
{
print_spaces_filtered (indentation, stream);
return;
{
print_spaces_filtered (indentation, stream);
return;
This page took
0.025688 seconds
and
4
git commands to generate.