mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 13:13:34 +08:00
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
21 lines
725 B
Diff
21 lines
725 B
Diff
Status: unsubmitted
|
|
|
|
This patch was for Debian bug #239535. It needs to be tested, and
|
|
submitted.
|
|
--
|
|
diff -ur gdb-6.3.50.20050915/gdb/valops.c gdb-6.3.50.20050915-patched/gdb/valops.c
|
|
--- gdb-6.3.50.20050915/gdb/valops.c 2005-05-26 23:39:32.000000000 -0500
|
|
+++ gdb-6.3.50.20050915-patched/gdb/valops.c 2005-09-15 23:21:49.000000000 -0500
|
|
@@ -2256,8 +2256,10 @@
|
|
return 1;
|
|
}
|
|
|
|
+ /* Check each baseclass. Call check_typedef, which will follow typedefs
|
|
+ and do opaque/stub type resolution. */
|
|
for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
|
|
- if (check_field_in (TYPE_BASECLASS (type, i), name))
|
|
+ if (check_field_in (check_typedef (TYPE_BASECLASS (type, i)), name))
|
|
return 1;
|
|
|
|
return 0;
|