Ping: Merge duplicated macros in linux-nat.c and linux-low.c

Yao Qi
2011-02-28T12:37:49Z

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.

--
Yao (é½å°§)