OSDN Git Service

2011-03-04 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Sat, 5 Mar 2011 05:02:50 +0000 (05:02 +0000)
committermsnyder <msnyder>
Sat, 5 Mar 2011 05:02:50 +0000 (05:02 +0000)
* remote.c (putpkt_binary): Document that case stmt falls through.

gdb/ChangeLog
gdb/remote.c

index 7634ec4..46f35ee 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 c55db1a..8c4176c 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)