From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27719 invoked by alias); 23 Oct 2009 15:51:05 -0000 Received: (qmail 27710 invoked by uid 22791); 23 Oct 2009 15:51:04 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Oct 2009 15:50:57 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id D23151350C for ; Fri, 23 Oct 2009 08:50:55 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost4.vmware.com (Postfix) with ESMTP id C61CCC9C0C for ; Fri, 23 Oct 2009 08:50:55 -0700 (PDT) Message-ID: <4AE1CF46.7030106@vmware.com> Date: Fri, 23 Oct 2009 15:51:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [RFA] Makefile.in, linux.mh: Move Process Record to NATDEPFILES Content-Type: multipart/mixed; boundary="------------030807030900040103000705" 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: 2009-10/txt/msg00588.txt.bz2 This is a multi-part message in MIME format. --------------030807030900040103000705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 405 Hey folks, we ran into a bunch of build problems because record.c was being compiled in a lot of builds where it wasn't needed (or tested). This change will make record.c be like gcore.c, in that it is only built if the target config files explicitly call for it. For this patch, I've only included record.c for i386-linux. We can add amd64-linux in a separate patch if we decide it is ready. Michael --------------030807030900040103000705 Content-Type: text/plain; name="natdep.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="natdep.txt" Content-length: 1716 2009-10-23 Michael Snyder * Makefile.in (COMMON_OBS): Remove record.o. (ALL_TARGET_OBS): Remove linux-record.o. config/i386/linux.h (NATDEPFILES): Add record.o, linux-record.o. Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.1103 diff -u -p -w -b -r1.1103 Makefile.in --- Makefile.in 21 Oct 2009 14:14:56 -0000 1.1103 +++ Makefile.in 23 Oct 2009 15:45:31 -0000 @@ -531,8 +531,7 @@ ALL_TARGET_OBS = \ xcoffread.o \ symfile-mem.o \ corelow.o \ - windows-tdep.o \ - linux-record.o + windows-tdep.o # Host-dependent makefile fragment comes in here. @host_makefile_frag@ @@ -834,7 +833,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $ solib.o solib-null.o \ prologue-value.o memory-map.o xml-support.o xml-syscall.o \ target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o \ - inferior.o osdata.o gdb_usleep.o record.o \ + inferior.o osdata.o gdb_usleep.o \ jit.o progspace.o # Definitions for the syscall's XML files and dir Index: config/i386/linux.mh =================================================================== RCS file: /cvs/src/src/gdb/config/i386/linux.mh,v retrieving revision 1.21 diff -u -p -w -b -r1.21 linux.mh --- config/i386/linux.mh 14 Aug 2007 12:51:59 -0000 1.21 +++ config/i386/linux.mh 23 Oct 2009 15:45:31 -0000 @@ -4,7 +4,7 @@ NAT_FILE= nm-linux.h NATDEPFILES= inf-ptrace.o fork-child.o \ i386-nat.o i386-linux-nat.o \ proc-service.o linux-thread-db.o gcore.o \ - linux-nat.o linux-fork.o + linux-nat.o linux-fork.o linux-record.o record.o # The dynamically loaded libthread_db needs access to symbols in the # gdb executable. --------------030807030900040103000705--