diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-01-06 09:30:35 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-01-06 09:30:35 +0000 |
commit | 8f7e195f62ca83d6d8e93d75025ff8c06cae6f82 (patch) | |
tree | 8baca1561f6e1c2b471ef354f30cdc83115af180 /gdb/linespec.c | |
parent | e9bdf92c6fafb52cce73a38a78593b11741eba4f (diff) | |
download | gdb-8f7e195f62ca83d6d8e93d75025ff8c06cae6f82.zip gdb-8f7e195f62ca83d6d8e93d75025ff8c06cae6f82.tar.gz gdb-8f7e195f62ca83d6d8e93d75025ff8c06cae6f82.tar.bz2 |
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.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |