From patchwork Mon Mar 17 15:22:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 116 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx20.g.dreamhost.com (caibbdcaaahc.dreamhost.com [208.113.200.72]) by wilcox.dreamhost.com (Postfix) with ESMTP id 4E8A43600C9 for ; Mon, 17 Mar 2014 08:23:32 -0700 (PDT) Received: by homiemail-mx20.g.dreamhost.com (Postfix, from userid 14314964) id E62684084003F; Mon, 17 Mar 2014 08:23:31 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx20.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-mx20.g.dreamhost.com (Postfix) with ESMTPS id 9FB6E4085771E for ; Mon, 17 Mar 2014 08:23:31 -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=fMVe82phUWGEdjnZR/sHdFF/FRJaq3W 0ilrerQg+14owD4mGlwubqVWS0sxjFmis/LlaT/WwP+kTBnyatg8VF1FXP5sv7eM dAHVIKPEc3loAkTw4+A0VULfauGy9G23w7QVO/YxjdR/ofFObUK1h383sK/phVub mHZL1KanTA5c= 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=SNmB3KwJYibEI8snaTvSYBqKcRk=; b=e2P8/ h1g7LysFvXyITWGIk4y62aDvEcWSWwV2G8fwASkupbt9dJIg2OrRTc7vgVp1OMnX Ckfew7Db257SfP6W+aja2G/H+jcLwvLahQgsgBGMNzYAemhauO/IQEQQFoncQ3gY +b3JowIiMG9ujTULidtgdCmAny3sD8s9H4MHk4= Received: (qmail 5037 invoked by alias); 17 Mar 2014 15:23:13 -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 4952 invoked by uid 89); 17 Mar 2014 15:23:13 -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:12 +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 s2HFNAUt008704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Mar 2014 11:23:10 -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 s2HFN5A0009032 for ; Mon, 17 Mar 2014 11:23:09 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 3/8] Rename "target GNU" -> "target native" Date: Mon, 17 Mar 2014 15:22:59 +0000 Message-Id: <1395069784-7406-4-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 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or to_doc. --- gdb/gnu-nat.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index aaccb5a..8235811 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2665,10 +2665,6 @@ gnu_target (void) { struct target_ops *t = inf_child_target (); - t->to_shortname = "GNU"; - t->to_longname = "GNU Hurd process"; - t->to_doc = "GNU Hurd process"; - t->to_attach = gnu_attach; t->to_attach_no_wait = 1; t->to_detach = gnu_detach;