From patchwork Thu Feb 25 19:15:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 62907 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp328787lbc; Thu, 25 Feb 2016 11:16:06 -0800 (PST) X-Received: by 10.66.63.104 with SMTP id f8mr65347190pas.109.1456427766132; Thu, 25 Feb 2016 11:16:06 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id fn9si14160244pab.163.2016.02.25.11.16.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Feb 2016 11:16:06 -0800 (PST) Received-SPF: pass (google.com: domain of gdb-patches-return-129941-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gdb-patches-return-129941-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gdb-patches-return-129941-patch=linaro.org@sourceware.org; dkim=pass header.i=@sourceware.org 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:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=cpzZw851SSGncwi0EzSecJ1S+Whub1N nMF9ZZFOo55c8en8TDdKYp28fOhzLbTs4VvzBcQcU52hQk0g3EPn5YcvO3SupXS1 eam+712ZhXen2GN9IW/GXP95LK2wZE8uGWVuYa9+eXOrcDQX8nMUBZmN9WloPifh Nq7qdQBQ5mWw= 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:cc:subject:date:message-id:in-reply-to :references; s=default; bh=/tdrvaFF3LlZBMMWJ4mpmIF0jSk=; b=gnNcX x6oC7bqfW3FiD4kKV+0UlxFWBwAdCYnDR00wm5zZGZtRc1+dBeiOW03fvYGIumcW Ax00cshxKBIGkApzPNoSSogAmZhFf+EfDTVn6Oyq81wNVMfy/PGczRqjBSfCGL7I pm2H85a5OysXFW6KMPnfz3QbNhLaf6iKXfvaHg= Received: (qmail 23801 invoked by alias); 25 Feb 2016 19:15:50 -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 23502 invoked by uid 89); 25 Feb 2016 19:15:37 -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_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:998 X-HELO: mail-wm0-f52.google.com Received: from mail-wm0-f52.google.com (HELO mail-wm0-f52.google.com) (74.125.82.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 25 Feb 2016 19:15:36 +0000 Received: by mail-wm0-f52.google.com with SMTP id b205so44922528wmb.1 for ; Thu, 25 Feb 2016 11:15:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=etE9QYVMmlpCRsPQeUv+8OJ73DKT5UnfbVpv326VKSo=; b=hvVPWM/LNf9N6vI23Am7mRrNTRPDjKaAcYUF+s+yiDpqSX8NRoL9KfNsKuWjuv2Iu6 6UREbpaIvuPa8SsQiA0llGJTNalCIkaGgc4IR3OCa6cF3YGM9qEV1zWIcYTRzna136Wp UxT9wRssE8bZyfc0DxxUl3E53fo6DywHFvzfD2CUwc+Pdm40qeCyMCtp5wGXMPf8cBna 7lQHzSOlmpquNvUYJVgjx82R0qZkNUhAfZ/HA/XjF1KzkyQmCbkiBt5Xr91edhVfFXCS lUB+f/o1O3q9YhGMx/Nz2igdGTYhs0FI6QdwCIITzlZ3+qxTZVs30jU1w0MCLiIqhu7J ldSQ== X-Gm-Message-State: AG10YOQf4ZsGT4FNoDEzy6TUPxcPDE6syW776d79/of78G+U/rwARB9FKZ7DTfUVFY+dZWVN X-Received: by 10.28.46.84 with SMTP id u81mr301067wmu.102.1456427733587; Thu, 25 Feb 2016 11:15:33 -0800 (PST) Received: from localhost.localdomain (cpc87017-aztw30-2-0-cust65.18-1.cable.virginm.net. [92.232.232.66]) by smtp.gmail.com with ESMTPSA id i10sm4506874wmf.14.2016.02.25.11.15.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 11:15:33 -0800 (PST) From: Kieran Bingham To: gdb-patches@sourceware.org Cc: arnez@linux.vnet.ibm.com, jeffm@suse.com, peter.griffin@linaro.org, lee.jones@linaro.org, yao.qi@linaro.org, russell.wayman@linaro.org, kernel@stlinux.com, Kieran Bingham Subject: [PATCH 2/4] gdb/command: Add LKD Command class Date: Thu, 25 Feb 2016 19:15:04 +0000 Message-Id: <1456427706-30077-3-git-send-email-kieran.bingham@linaro.org> In-Reply-To: <1456427706-30077-1-git-send-email-kieran.bingham@linaro.org> References: <1456427706-30077-1-git-send-email-kieran.bingham@linaro.org> LKD's commands are all originally put into an STM class. For simplicity I have renamed this class to LKD and separated out this change to highlight modification outside of the lkd/ directory. My assumption is that the specific commands could/should be added to other classes - but I've left things as they are for now. --- gdb/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.5.0 diff --git a/gdb/command.h b/gdb/command.h index ab6260199044..ed87f63283dc 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -38,7 +38,7 @@ enum command_class no_class = -1, class_run = 0, class_vars, class_stack, class_files, class_support, class_info, class_breakpoint, class_trace, class_alias, class_bookmark, class_obscure, class_maintenance, - class_pseudo, class_tui, class_user, class_xdb, + class_pseudo, class_tui, class_user, class_xdb, class_lkd, no_set_class /* Used for "show" commands that have no corresponding "set" command. */ };