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]

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


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 (éå)


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