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: fix dwarf2read.c offset-is-in-cu calculation


On Sat, Oct 04, 2008 at 01:54:03PM -0700, Doug Evans wrote:
> Some calculations for whether an offset is within a CU don't take into
> account initial_length_size.
> The error is innocuous because GDB will still lookup the correct CU,
> but it didn't have to do the lookup.  The error also causes the CU
> to be made a dependency of itself which is unnecessary.
> 
> This also changes the name of a label in dw2-intercu.S to improve
> readability.
> 
> Ok to check in?

OK.

-- 
Daniel Jacobowitz
CodeSourcery


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