mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
Fix ADL anonymous name crash.
2010-06-02 Sami Wagiaalla <swagiaal@redhat.com> * cp-support.c (make_symbol_overload_list_adl_namespace): Handle anonymous type case. 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.exp: Added new test case. * gdb.cp/koenig.cc: Ditto.
This commit is contained in:
@ -752,6 +752,9 @@ make_symbol_overload_list_adl_namespace (struct type *type,
|
||||
|
||||
type_name = TYPE_NAME (type);
|
||||
|
||||
if (type_name == NULL)
|
||||
return;
|
||||
|
||||
prefix_len = cp_entire_prefix_len (type_name);
|
||||
|
||||
if (prefix_len != 0)
|
||||
|
Reference in New Issue
Block a user