From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14362 invoked by alias); 28 Feb 2011 12:37:49 -0000 Received: (qmail 2775 invoked by uid 22791); 28 Feb 2011 12:36:56 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Feb 2011 12:36:49 +0000 Received: (qmail 1949 invoked from network); 28 Feb 2011 12:36:47 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Feb 2011 12:36:47 -0000 Message-ID: <4D6B96DC.5090606@codesourcery.com> Date: Mon, 28 Feb 2011 12:38:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: 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> In-Reply-To: <4D612DC6.5010805@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00889.txt.bz2 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 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 (齐尧)