diff options
-rw-r--r-- | gdb/valops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 2b789cd..e90c394 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -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) |