diff options
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 00de4e1..ad02ad6 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2644,6 +2644,8 @@ i386_16_byte_align_p (struct type *type) int i; for (i = 0; i < type->num_fields (); i++) { + if (field_is_static (&type->field (i))) + continue; if (i386_16_byte_align_p (type->field (i).type ())) return 1; } |