From d9c43928180cc298ece7de1a27eafbf6c8c38de7 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 27 Nov 2012 17:59:49 +0800 Subject: [PATCH] Fix typo "checksm" Fix typo "checksm". gdb: 2013-11-30 Yao Qi * remote.c (getpkt_or_notif_sane_1): Fix typo "checksm". --- gdb/ChangeLog | 4 ++++ gdb/remote.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 621e54d..2033b47 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-11-30 Yao Qi + + * remote.c (getpkt_or_notif_sane_1): Fix typo "checksm". + 2013-11-29 Sergio Durigan Junior * gdbarch.sh: Remove include of "gdb_string.h", replace by diff --git a/gdb/remote.c b/gdb/remote.c index be54450..aa41264 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -7690,7 +7690,7 @@ getpkt_or_notif_sane_1 (char **buf, long *sizeof_buf, int forever, we get a packet. */ for (;;) { - /* If we get a timeout or bad checksm, retry up to MAX_TRIES + /* If we get a timeout or bad checksum, retry up to MAX_TRIES times. */ for (tries = 1; tries <= MAX_TRIES; tries++) { -- 2.7.4