From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127140 invoked by alias); 19 May 2015 13:22:43 -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 127120 invoked by uid 89); 19 May 2015 13:22:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f47.google.com Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 19 May 2015 13:22:41 +0000 Received: by pabru16 with SMTP id ru16so24654445pab.1 for ; Tue, 19 May 2015 06:22:39 -0700 (PDT) X-Received: by 10.66.222.130 with SMTP id qm2mr53836669pac.39.1432041759834; Tue, 19 May 2015 06:22:39 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id v7sm13157386pde.81.2015.05.19.06.22.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 May 2015 06:22:38 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 0/4 V6] Process record and reverse debugging support on aarch64-linux Date: Tue, 19 May 2015 13:22:00 -0000 Message-Id: <1432041752-4638-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00479.txt.bz2 This patch series is about adding process recording and reverse debugging for aarch64-linux target. This is V6, with some changes on top of V5 https://sourceware.org/ml/gdb-patches/2015-05/msg00239.html with some changes, - Indent the code, and fix some format issues, - Fix one bug about handling SIMD instructions, - Always record register CPSR [1] - Pick up a small set of instructions from Omair's test in the my test case, - Complete changelog and commit log message. There are 7 fails in gdb.reverse, shown in the commit log of patch #3, which are not related to instruction decoding and recording for aarch64. [1] aarch64 doesn't have CPSR register, which only exist on ARM or aarch32 state. In aarch64, linux kernel ptrace interface exposes 64-bit PSTATE rather than CPSR register. PSTATE may be changed during the execution of instructions, for example, after single step. In process record, we have to always record CPSR. I plan to replace CPSR with PSTATE in aarch64 separately. *** BLURB HERE *** Omair Javaid (3): NEWS entry about aarch64-linux record/replay support Implements aarch64 process record and reverse debugging support Enables gdb.reverse testsuite for aarch64*-linux targets Yao Qi (1): New gdb.reverse test case for aarch64 instructions gdb/NEWS | 4 + gdb/aarch64-linux-tdep.c | 739 ++++++++++++++++++++++++++ gdb/aarch64-tdep.c | 967 ++++++++++++++++++++++++++++++++++ gdb/aarch64-tdep.h | 6 + gdb/configure.tgt | 2 +- gdb/linux-record.h | 1 + gdb/testsuite/gdb.reverse/aarch64.c | 99 ++++ gdb/testsuite/gdb.reverse/aarch64.exp | 115 ++++ gdb/testsuite/lib/gdb.exp | 2 + 9 files changed, 1934 insertions(+), 1 deletion(-) create mode 100644 gdb/testsuite/gdb.reverse/aarch64.c create mode 100644 gdb/testsuite/gdb.reverse/aarch64.exp -- 1.9.1