aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <abidh@codesourcery.com>2013-03-11 12:20:52 +0000
committerHafiz Abid Qadeer <abidh@codesourcery.com>2013-03-11 12:20:52 +0000
commit905851752e89f4fa2cc13e6df0f2dbd22c82f623 (patch)
treef0392632c22635138584d6c94cc498ccbde73171
parentdd5181d57f54aba7df0cee40028b9b446ef55f57 (diff)
downloadgdb-905851752e89f4fa2cc13e6df0f2dbd22c82f623.zip
gdb-905851752e89f4fa2cc13e6df0f2dbd22c82f623.tar.gz
gdb-905851752e89f4fa2cc13e6df0f2dbd22c82f623.tar.bz2
2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
* remote.c (remote_set_trace_buffer_size): Move != operator to the start of next line to fix an ARI warning.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2f7c0dd..0993c74 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * remote.c (remote_set_trace_buffer_size): Move != operator
+ to the start of next line to fix an ARI warning.
+
2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
* NEWS: Add record changes.
diff --git a/gdb/remote.c b/gdb/remote.c
index 8fc6b85..c4824e9 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -11056,8 +11056,8 @@ remote_get_min_fast_tracepoint_insn_len (void)
static void
remote_set_trace_buffer_size (LONGEST val)
{
- if (remote_protocol_packets[PACKET_QTBuffer_size].support !=
- PACKET_DISABLE)
+ if (remote_protocol_packets[PACKET_QTBuffer_size].support
+ != PACKET_DISABLE)
{
struct remote_state *rs = get_remote_state ();
char *buf = rs->buf;