This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [Patch] Another small memattr fix.


Don,

Could you explain this change in more detail?

> -  if (lo >= hi)
> +  if (lo > hi-1)

I.e, with the exception of the boundary conditions (max int, min int),
aren't these two equivalent when lo and hi are integers?

Kevin


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