This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] symtab.c: Search section table when fixing up a symbol's section
Kevin Buettner <kevinb@redhat.com> writes:
> On 17 May 2004 15:57:20 -0500
> Jim Blandy <jimb@redhat.com> wrote:
>
> > Oh, endaddr *is* inclusive. Well done.
>
> Actually, I don't think it is:
>
> CORE_ADDR endaddr; /* 1+highest address in section */
>
> I'm appending a revised patch.
Damn. It *should* be inclusive; otherwise you can't really represent
ranges that abut the top of the address space when CORE_ADDR is no
larger than a target address.
Well, I'm glad we caught it.
> > I'm going to leave this for others' comments for a few days, but other
> > than that, it looks good to me.
>
> Thanks for looking it over.