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 6/7 v2] Move duplicated code into new files


On 06/27/2014 03:12 PM, Gary Benson wrote:
> This commit moves the shared code in {i386,amd64}-linux-nat.c

Nit: s/shared/identical/.  It's only shared afterwards.

> into the new files x86-linux-nat.[ch].  Additionally, a new
> file i386-linux-nat.h was required to expose a value required
> by the 32-bit code in x86-linux-nat.c.
> 
> This patch differs from the original version in this series
> in that x86_linux_read_description has been rewritten in an
> earlier patch.

> 	(x86_linux_dr_get_addr): Likewise.
> 	(x86_linux_dr_get_control) Likewise.:

Typo, ':' position.

> 	(x86_linux_dr_get_status): Likewise.

Otherwise looks good to me.

Thanks,
-- 
Pedro Alves


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