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.


-  if (lo >= hi)
+  if (lo > hi-1)
What happens with:

mem 0xfffffff0 0

it looks like a testsuite addition (memattr.exp?) is needed to pin down all the edge cases - signed vs unsigned addresses etc. (I assume you checked the change in).

Andrew




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