mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
gdb: Fix regressions caused by 041de3d73a
Commit 041de3d73a
changed the output format of all error messages when
GDB couldn't determine a compatible overload for a given function, but
it was only supposed to change if the failure happened due to incomplete
types. This commit removes the stray . that was added
This commit is contained in:
parent
27859c6b9d
commit
05e8d17b8b
@ -2979,12 +2979,12 @@ find_overload_match (gdb::array_view<value *> args,
|
||||
{
|
||||
std::string hint = incomplete_type_hint (args);
|
||||
if (method == METHOD)
|
||||
error (_("Cannot resolve method %s%s%s to any overloaded instance.%s"),
|
||||
error (_("Cannot resolve method %s%s%s to any overloaded instance%s"),
|
||||
obj_type_name,
|
||||
(obj_type_name && *obj_type_name) ? "::" : "",
|
||||
name, hint.c_str ());
|
||||
else
|
||||
error (_("Cannot resolve function %s to any overloaded instance.%s"),
|
||||
error (_("Cannot resolve function %s to any overloaded instance%s"),
|
||||
func_name, hint.c_str ());
|
||||
}
|
||||
else if (match_quality == NON_STANDARD)
|
||||
|
Loading…
Reference in New Issue
Block a user