From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] symtab.c: Search section table when fixing up a symbol's section Date: Tue, 18 May 2004 06:15:00 -0000 Message-id: References: <20040517120219.5fad9bc0@saguaro> <20040517142316.3b0f4320@saguaro> X-SW-Source: 2004-05/msg00525.html Kevin Buettner writes: > On 17 May 2004 15:57:20 -0500 > Jim Blandy 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.