diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-06-02 22:21:53 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-06-02 22:21:53 +0000 |
commit | cb91c06acceedddbfd91ecd6f55efb121d0cddae (patch) | |
tree | 9c54700ea7a018f83a0fbf89c023181866736ab3 | |
parent | b8e8282fd63edcf7fb976b8e7c84b59c3d4d69aa (diff) | |
download | gdb-cb91c06acceedddbfd91ecd6f55efb121d0cddae.zip gdb-cb91c06acceedddbfd91ecd6f55efb121d0cddae.tar.gz gdb-cb91c06acceedddbfd91ecd6f55efb121d0cddae.tar.bz2 |
Fix ARI warning in remote.c (no trailing \n in call to error)
* remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
to error.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d3b9d53..ca679f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-06-02 Joel Brobecker <brobecker@adacore.com> + + * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call + to error. + 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2read.c (typename_concat): Add const to the variable sep. diff --git a/gdb/remote.c b/gdb/remote.c index ca3aad6..d56dd3a 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -446,7 +446,7 @@ remote_get_noisy_reply (char **buf_p, p = buf + strlen ("qRelocInsn:"); pp = unpack_varlen_hex (p, &ul); if (*pp != ';') - error (_("invalid qRelocInsn packet: %s\n"), buf); + error (_("invalid qRelocInsn packet: %s"), buf); from = ul; p = pp + 1; |