This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Ping: Merge duplicated macros in linux-nat.c and linux-low.c
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Mar 2011 12:11:31 +0800
- Subject: Re: Ping: Merge duplicated macros in linux-nat.c and linux-low.c
- References: <4D5E2021.2070107@codesourcery.com> <201102181546.26744.pedro@codesourcery.com> <4D5EA533.608@codesourcery.com> <4D612DC6.5010805@codesourcery.com> <4D6B96DC.5090606@codesourcery.com>
On 02/28/2011 08:36 PM, Yao Qi wrote:
> On 02/20/2011 11:05 PM, Yao Qi wrote:
>> All the comments in previous mails are address in this new patch,
>> 1. rename 'linux-common.h' to 'linux-ptrace.h', which includes only
>> ptrace-related macros.
>> 2. include <sys/wait.h> in linux-ptrace.h for macro __WALL,
>> 3. add dependency tracking for gdbserver,
>
>> gdb/
>>
>> * linux-nat.c: Move common macros to ...
>> Include linux-ptrace.h.
>> * common/linux-ptrace.h: ... here. New.
>>
>> gdb/gdbserver/
>>
>> * linux-low.c: Move common macros to linux-ptrace.h.
>> Include linux-ptrace.h.
>> * Makefile.in (linux_ptrace_h): New.
>> (linux-low.o): Depends on linux-ptrace.h.
>>
>
> Ping.
>
Ping?
Since configure/make issues in common/ has been resolved, can I apply
this patch to mainline? Or apply it after 7.3 branch is created?
--
Yao (éå)