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 1/2] Code cleanup: Unify dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> this is more rather for patch 2/2, it has positive LoC change but still
Jan> I would find it applicable even on its own.

I agree.  It looks good to me.

Jan> gdb/
Jan> 2011-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>

Jan> 	Code cleanup.
Jan> 	* dwarf2read.c (per_cu_header_read_in): New function.
Jan> 	(dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size): Use it, with new
Jan> 	variables cu_header_local and cu_headerp.

Tom


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