From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5365 invoked by alias); 23 Feb 2011 05:36:55 -0000 Received: (qmail 5171 invoked by uid 22791); 23 Feb 2011 05:36:53 -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; Wed, 23 Feb 2011 05:36:49 +0000 Received: (qmail 27290 invoked from network); 23 Feb 2011 05:36:47 -0000 Received: from unknown (HELO ?0.0.0.0?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Feb 2011 05:36:47 -0000 Message-ID: <4D649CEC.3020004@codesourcery.com> Date: Wed, 23 Feb 2011 07:21: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: Tom Tromey CC: Pedro Alves , gdb-patches@sourceware.org Subject: Re: Change gdb/common/ to use Automake References: <4D30E23F.3080103@codesourcery.com> <201102141822.12309.pedro@codesourcery.com> <201102142003.26224.pedro@codesourcery.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080700090807040501090002" 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/msg00637.txt.bz2 This is a multi-part message in MIME format. --------------080700090807040501090002 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 826 On 02/19/2011 03:42 AM, Tom Tromey wrote: > I got something working today. But, I am not sure it really works. I > sort of punted on the gnulib stuff; maybe it is handled automatically, > maybe not -- I'm not likely to find out on a Linux host. > > Here's a diff. No ChangeLog yet. If you want to try it and report > problems, that would be helpful. I sent all the files, including > generated ones, for convenience. I tested this diff on my linux system, and build gdb/gdbserver as native debugger, and arm cross debugger. `make clean' can't remove some files. The rest works well to me. This patch is to clean generated files, applied on top of Tom's patch. I really want gdbserver automake patch in trunk, then, I don't have to worry about dependency tracking when I add new .h files in common/ -- Yao (齐尧) --------------080700090807040501090002 Content-Type: text/x-patch; name="gdbserver-cleanfiles.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdbserver-cleanfiles.patch" Content-length: 545 diff --git a/gdb/gdbserver/Makefile.am b/gdb/gdbserver/Makefile.am index f3e398b..ec533eb 100644 --- a/gdb/gdbserver/Makefile.am +++ b/gdb/gdbserver/Makefile.am @@ -87,6 +87,8 @@ EXTRA_gdbserver_SOURCES = proc-service.c proc-service.list thread-db.c \ win32-low.c i387-fp.c wincecompat.c hostio-errno.c \ $(generated) +CLEANFILES = $(generated) xml-builtin.c version.c stamp-xml + gdbserver_LDFLAGS = $(INTERNAL_LDFLAGS) gdbserver_LDADD = $(XML_BUILTIN) $(GDBSERVER_DEPFILES) $(LIBOBJS) \ common/libcommon.a $(GDBSERVER_LIBS) --------------080700090807040501090002--