This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch]: Interpret (p->endaddr == 0) as maximum extent of address space
- From: Daniel Jacobowitz <drow at false dot org>
- To: Greg McGary <greg at mcgary dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 5 Jun 2008 16:04:50 -0400
- Subject: Re: [patch]: Interpret (p->endaddr == 0) as maximum extent of address space
- References: <483E0591.1080108@mcgary.org>
On Wed, May 28, 2008 at 06:23:29PM -0700, Greg McGary wrote:
> >From target.h:
>
> struct section_table
> {
> CORE_ADDR addr; /* Lowest address in section */
> CORE_ADDR endaddr; /* 1+highest address in section */
> ...
> }
>
> Therefore, if the highest address is a word of all 1s, 1+highest address
> will wrap to zero.
>
> G
>
>
> 2008-05-28 Greg McGary <greg@mcgary.org>
>
> * exec.c (xfer_memory): Interpret (p->endaddr == 0) as maximum
> extent of address space.
Thanks, this is fine. Could you apply it?
--
Daniel Jacobowitz
CodeSourcery