diff options
author | Bruno Larsen <blarsen@redhat.com> | 2022-11-10 17:58:58 +0100 |
---|---|---|
committer | Bruno Larsen <blarsen@redhat.com> | 2022-11-10 18:09:02 +0100 |
commit | 05e8d17b8b49065a104277f4df6bfe5e72e83862 (patch) | |
tree | a0ec1910172fb495edbddaa9418cc578810cf9e5 /gdb | |
parent | 27859c6b9d73a8ae1b51c5c40fc2b3aefd2228a0 (diff) | |
download | binutils-05e8d17b8b49065a104277f4df6bfe5e72e83862.zip binutils-05e8d17b8b49065a104277f4df6bfe5e72e83862.tar.gz binutils-05e8d17b8b49065a104277f4df6bfe5e72e83862.tar.bz2 |
gdb: Fix regressions caused by 041de3d73aa121f2ff0c077213598963bfb34b79
Commit 041de3d73aa 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
Diffstat (limited to 'gdb')
-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) |