This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(len % 1) != 0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]