Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* (len % 1) != 0
@ 2008-02-17  5:57 Bin Chen
  2008-02-17 14:13 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Bin Chen @ 2008-02-17  5:57 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-02-19 20:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17  5:57 (len % 1) != 0 Bin Chen
2008-02-17 14:13 ` Eli Zaretskii
2008-02-17 14:41   ` Bin Chen
2008-02-17 15:26     ` Daniel Jacobowitz
2008-02-19 16:32       ` Sheng-Liang Song
2008-02-19 18:25         ` Dave Korn
2008-02-19 18:30           ` David Daney
     [not found]           ` <18363.7810.91075.314867@gargle.gargle.HOWL>
2008-02-19 18:35             ` Dave Korn
2008-02-19 18:47               ` David Daney
2008-02-19 18:49                 ` Daniel Jacobowitz
2008-02-19 19:08                 ` Dave Korn
2008-02-19 21:41           ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox