From patchwork Mon Mar 17 15:22:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 115 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (caibbdcaabij.dreamhost.com [208.113.200.189]) by wilcox.dreamhost.com (Postfix) with ESMTP id 933AD3600C9 for ; Mon, 17 Mar 2014 08:23:25 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14314964) id 423E25000221; Mon, 17 Mar 2014 08:23:25 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx22.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id 14CB04FF5173 for ; Mon, 17 Mar 2014 08:23:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=hh1lAtVRAKxR6uV7Q5o3p8vlKmlPq8A ++qMQvnhfsBYOM26o6wU902cSJ84oHNDi72vY+xMzTCa9Q1/yjsTsfHHs+vn9Rnk xqZs9kIs9MIPFeUIx1EeXJR+yEtLV3nKmBzzUgzyY8PazTyAOZL0YWPuSJW3cvaU Tmts2A/iOcwo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=csgwe8Paoe49gWGlHp2JRu3BPTw=; b=T9/yu 6CupbmN8lViEPwmPuRdzsZZjAS0hBx6ETQjTEthNRjwZz/PyWr+P2cs5YHqXNtSP 0qIWgXFrRCCM5SAayzrsjUa4+q/0rIyh01pKv6FqOU7GROapPh7wtSaBPEr3mS6w s6CVjeA903g8LRuuYBYeTszKi7oLkEd3AQ7kI8= Received: (qmail 4841 invoked by alias); 17 Mar 2014 15:23:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 4653 invoked by uid 89); 17 Mar 2014 15:23:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Mar 2014 15:23:10 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2HFN8f3008203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Mar 2014 11:23:09 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2HFN59x009032 for ; Mon, 17 Mar 2014 11:23:08 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 2/8] Rename "target darwin-child" -> "target native" Date: Mon, 17 Mar 2014 15:22:58 +0000 Message-Id: <1395069784-7406-3-git-send-email-palves@redhat.com> In-Reply-To: <1395069784-7406-1-git-send-email-palves@redhat.com> References: <1395069784-7406-1-git-send-email-palves@redhat.com> X-DH-Original-To: gdb@patchwork.siddhesh.in To be like other native targets. Leave to_shortname, to_longname, to_doc as inf-child.c sets them: t->to_shortname = "native"; t->to_longname = "Native process"; t->to_doc = "Native process (started by the \"run\" command)."; gdb/ 2014-03-17 Pedro Alves * darwin-nat.c (_initialize_darwin_inferior): Don't override to_shortname, to_longname or to_doc. --- gdb/darwin-nat.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 88cecf3..8650f03 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -2098,10 +2098,6 @@ _initialize_darwin_inferior (void) darwin_ops = inf_child_target (); - darwin_ops->to_shortname = "darwin-child"; - darwin_ops->to_longname = _("Darwin child process"); - darwin_ops->to_doc = - _("Darwin child process (started by the \"run\" command)."); darwin_ops->to_create_inferior = darwin_create_inferior; darwin_ops->to_attach = darwin_attach; darwin_ops->to_attach_no_wait = 0;