This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix memory-region overlapping checking
Hi Yao,
Let me correct my previous example. It should be
(gdb) mem 0x50 0x80 ro
(gdb) mem 0xffffff00 0 ro
(gdb) mem 0x100 0x200 ro
overlapping memory region
(instread of 0x100000000)
As documented in gdb manual (10.16),
``Note that upper == 0 is a special case: it is treated as the
target's maximum memory address.''
Anyway, it doesn't matter the real issue.
In my humble opinion, in order for that to work,
it should fixed as such. Otherwise, it doesn't work even on x86_64-linux.
thanks a lot,
Wei-cheng