This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] Code cleanup: Unify dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 9 Oct 2011 20:44:37 +0200
- Subject: Re: [patch 1/2] Code cleanup: Unify dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size
- References: <20110926192559.GA32354@host1.jankratochvil.net> <m3lit0pwwf.fsf@fleche.redhat.com>
On Tue, 04 Oct 2011 18:02:56 +0200, Tom Tromey wrote:
> 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.
>
> I agree. It looks good to me.
Checked in:
http://sourceware.org/ml/gdb-cvs/2011-10/msg00054.html
Thanks,
Jan