690-debian_member-field-symtab.patch 725 B

1234567891011121314151617181920
  1. Status: unsubmitted
  2. This patch was for Debian bug #239535. It needs to be tested, and
  3. submitted.
  4. --
  5. diff -ur gdb-6.3.50.20050915/gdb/valops.c gdb-6.3.50.20050915-patched/gdb/valops.c
  6. --- gdb-6.3.50.20050915/gdb/valops.c 2005-05-26 23:39:32.000000000 -0500
  7. +++ gdb-6.3.50.20050915-patched/gdb/valops.c 2005-09-15 23:21:49.000000000 -0500
  8. @@ -2256,8 +2256,10 @@
  9. return 1;
  10. }
  11. + /* Check each baseclass. Call check_typedef, which will follow typedefs
  12. + and do opaque/stub type resolution. */
  13. for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
  14. - if (check_field_in (TYPE_BASECLASS (type, i), name))
  15. + if (check_field_in (check_typedef (TYPE_BASECLASS (type, i)), name))
  16. return 1;
  17. return 0;