This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix ADL anonymous type crash


>>>>> "Sami" == sami wagiaalla <swagiaal@redhat.com> writes:

Sami> If one attempts to make an inferior function call with an anonymous
Sami> type gdb will crash in make_symbol_overload_list_adl_namespace because
Sami> the type has no name. This patch fixes and tests that scenario.

Thanks.

Sami> +#test that lookup is not thwarted by anonymous types
Sami> +gdb_test "p foo (p_union)" "Cannot resolve function foo to any overloaded instance"

Break this line before the last argument to gdb_test.
Ok with that change.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]