From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7308 invoked by alias); 1 Oct 2015 16:35:53 -0000 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 Received: (qmail 7288 invoked by uid 89); 1 Oct 2015 16:35:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 01 Oct 2015 16:35:50 +0000 Received: by pacfv12 with SMTP id fv12so80790690pac.2; Thu, 01 Oct 2015 09:35:49 -0700 (PDT) X-Received: by 10.69.0.132 with SMTP id ay4mr13160607pbd.87.1443717348893; Thu, 01 Oct 2015 09:35:48 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id bs3sm7555970pbd.89.2015.10.01.09.35.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Oct 2015 09:35:48 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org, binutils@sourceware.org Subject: [PATCH 0/2] [aarch64] Use opcodes to decode instructions in GDB Date: Thu, 01 Oct 2015 16:35:00 -0000 Message-Id: <1443717344-8632-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00010.txt.bz2 This patch series is the first try to use opcodes to decode instructions in GDB aarch64 backend. GDB should use existing macros and functions to decode and encode instructions, not only in aarch64 backend, but also in other arch backends. Patch #1 is a cleanup that removing unused argument in disas_aarch64_insn, and patch #2 is the major part of this series. See more details in it. *** BLURB HERE *** Yao Qi (2): [aarch64] Remove argument pc from disas_aarch64_insn [aarch64] Use opcodes to decode instructions in GDB gdb/aarch64-tdep.c | 29 ++++++++++++++++++----------- opcodes/aarch64-dis.c | 9 ++++----- opcodes/aarch64-dis.h | 5 +++++ 3 files changed, 27 insertions(+), 16 deletions(-) -- 1.9.1