From owner-svn-src-all@FreeBSD.ORG Mon Apr 12 23:35:58 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607C81065674; Mon, 12 Apr 2010 23:35:58 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 510B38FC15; Mon, 12 Apr 2010 23:35:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3CNZwbj075227; Mon, 12 Apr 2010 23:35:58 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3CNZwNT075225; Mon, 12 Apr 2010 23:35:58 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201004122335.o3CNZwNT075225@svn.freebsd.org> From: Warner Losh Date: Mon, 12 Apr 2010 23:35:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206530 - head/gnu/usr.bin/gdb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 23:35:58 -0000 Author: imp Date: Mon Apr 12 23:35:58 2010 New Revision: 206530 URL: http://svn.freebsd.org/changeset/base/206530 Log: Simplify how we select which architectures to add gdbserver for. If the MD files exist, compile it, otherwise omit it. Modified: head/gnu/usr.bin/gdb/Makefile Modified: head/gnu/usr.bin/gdb/Makefile ============================================================================== --- head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:22:32 2010 (r206529) +++ head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:35:58 2010 (r206530) @@ -3,8 +3,7 @@ SUBDIR= doc libgdb gdb gdbtui kgdb TARGET_ARCH?= ${MACHINE_ARCH} -.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \ - ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc" +.if exists(${.CURDIR}/gdbserver/reg-${TARGET_ARCH}.c) SUBDIR+=gdbserver .endif