mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 03:48:11 +08:00
gdb/
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive calls. gdb/testsuite/ * gdb.cp/inherit.exp (test_print_mi_member_types): New function. (do_tests): Call it.
This commit is contained in:
@ -1271,7 +1271,7 @@ lookup_struct_elt_type (struct type *type, char *name, int noerr)
|
||||
{
|
||||
struct type *t;
|
||||
|
||||
t = lookup_struct_elt_type (TYPE_BASECLASS (type, i), name, noerr);
|
||||
t = lookup_struct_elt_type (TYPE_BASECLASS (type, i), name, 1);
|
||||
if (t != NULL)
|
||||
{
|
||||
return t;
|
||||
|
Reference in New Issue
Block a user