summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2011-03-04 20:02:50 +0000
committerMichael Snyder <msnyder@specifix.com>2011-03-04 20:02:50 +0000
commit77c866e72368ad166cb9e9036346188741e274bd (patch)
treeca3405b36ed865494dea431f8d95390f6982437a /gdb
parent4434566b2eabcac263365d9a6cc8235f17301d2d (diff)
downloadgdb-77c866e72368ad166cb9e9036346188741e274bd.tar.gz
2011-03-04 Michael Snyder <msnyder@vmware.com>
* remote.c (putpkt_binary): Document that case stmt falls through.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7634ec4f8b2..46f35ee1642 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-04 Michael Snyder <msnyder@vmware.com>
+
+ * remote.c (putpkt_binary): Document that case stmt falls through.
+
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
* breakpointc (print_it_typical): Move NULL check from here...
diff --git a/gdb/remote.c b/gdb/remote.c
index c55db1a9967..8c4176c93e3 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6848,6 +6848,7 @@ putpkt_binary (char *buf, int cnt)
case '-':
if (remote_debug)
fprintf_unfiltered (gdb_stdlog, "Nak\n");
+ /* FALLTHROUGH */
case SERIAL_TIMEOUT:
tcount++;
if (tcount > 3)