From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22644 invoked by alias); 17 Feb 2008 05:57:52 -0000 Received: (qmail 22636 invoked by uid 22791); 17 Feb 2008 05:57:51 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 17 Feb 2008 05:57:34 +0000 Received: by fg-out-1718.google.com with SMTP id e12so966726fga.0 for ; Sat, 16 Feb 2008 21:57:31 -0800 (PST) Received: by 10.86.90.2 with SMTP id n2mr4432018fgb.66.1203227851615; Sat, 16 Feb 2008 21:57:31 -0800 (PST) Received: by 10.86.60.12 with HTTP; Sat, 16 Feb 2008 21:57:31 -0800 (PST) Message-ID: <5800c1cc0802162157g3ac31acas4ae95585b9b2e263@mail.gmail.com> Date: Sun, 17 Feb 2008 05:57:00 -0000 From: "Bin Chen" To: gdb@sourceware.org Subject: (len % 1) != 0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00113.txt.bz2 Hello, In gdb/gdbserver/server.c, there is a line: if ((len % 1) != 0 || unhexify (mon, own_buf + 6, len / 2) != len / 2) I am curious that (len % 1) != 0 is always false, why put here? Thanks. Bin