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

Re: [patch]: Interpret (p->endaddr == 0) as maximum extent of address space


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


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