* c-typeprint.c (c_type_print_base): Reverse order of test.
This commit is contained in:
parent
b946d5d83a
commit
fd9e29b562
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-02-15 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* c-typeprint.c (c_type_print_base): Reverse order of test.
|
||||||
|
|
||||||
2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
|
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
|
||||||
|
|
|
@ -832,7 +832,7 @@ c_type_print_base (struct type *type, struct ui_file *stream, int show,
|
||||||
/* If we have a virtual table pointer, omit it. Even if
|
/* If we have a virtual table pointer, omit it. Even if
|
||||||
virtual table pointers are not specifically marked in
|
virtual table pointers are not specifically marked in
|
||||||
the debug info, they should be artificial. */
|
the debug info, they should be artificial. */
|
||||||
if ((type == basetype && i == vptr_fieldno)
|
if ((i == vptr_fieldno && type == basetype)
|
||||||
|| TYPE_FIELD_ARTIFICIAL (type, i))
|
|| TYPE_FIELD_ARTIFICIAL (type, i))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue