2011-03-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 20:02:50 +0000 (20:02 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 20:02:50 +0000 (20:02 +0000)
* remote.c (putpkt_binary): Document that case stmt falls through.

gdb/ChangeLog
gdb/remote.c

index 7634ec4f8b25f83b94c4a7591705b565268292e2..46f35ee1642261aa87de05da6b5628d638229dff 100644 (file)
@@ -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...
index c55db1a996771291e394e3fb4fb51a523a8abfa1..8c4176c93e368e67f3d4aea15d6fff8e227871af 100644 (file)
@@ -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)