From 8f7e195f62ca83d6d8e93d75025ff8c06cae6f82 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 6 Jan 2011 09:30:35 +0000 Subject: Remove trailing new-line at end of error string gdb/ChangeLog: * linespec.c (decode_compound, find_method): Remove trailing \n at end of error string. * solib-irix.c (irix_current_sos): Likewise. * varobj.c (uninstall_variable): Likewise. --- gdb/linespec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/linespec.c') diff --git a/gdb/linespec.c b/gdb/linespec.c index dffbb36..ae48de7 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1460,7 +1460,7 @@ decode_compound (char **argptr, int funfirstline, char ***canonical, { xfree (values.sals); error (_("the class `%s' does not have " - "any method instance named %s\n"), + "any method instance named %s"), SYMBOL_PRINT_NAME (sym_class), copy); } } @@ -1625,7 +1625,7 @@ find_method (int funfirstline, char ***canonical, char *saved_arg, } error (_("the class `%s' does not have " - "any method instance named %s\n"), + "any method instance named %s"), SYMBOL_PRINT_NAME (sym_class), copy); } -- cgit v1.1