aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-04 20:02:50 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-04 20:02:50 +0000
commita17d146e2e387b160d4c331f7ce8268eb2e348d7 (patch)
treeb795248c3d2d396c8d21b620479cff32b4881078 /gdb
parent1a6a67de742adc3d1400df7567962fd9e98594c5 (diff)
downloadgdb-a17d146e2e387b160d4c331f7ce8268eb2e348d7.zip
gdb-a17d146e2e387b160d4c331f7ce8268eb2e348d7.tar.gz
gdb-a17d146e2e387b160d4c331f7ce8268eb2e348d7.tar.bz2
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 7634ec4..46f35ee 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 c55db1a..8c4176c 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)