From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65245 invoked by alias); 15 Jan 2020 11:52:00 -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 65233 invoked by uid 89); 15 Jan 2020 11:52:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-f176.google.com Received: from mail-qk1-f176.google.com (HELO mail-qk1-f176.google.com) (209.85.222.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jan 2020 11:51:50 +0000 Received: by mail-qk1-f176.google.com with SMTP id c17so15302794qkg.7 for ; Wed, 15 Jan 2020 03:51:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=c4EwknD+0PVQVUFxxzlsR2cqL3X+7dA7QbJKr6S5GjI=; b=dJ2NCXLwYDqu98kbhuJGoszH/5gfeYO17HvQunHSAcYJrVHNg+Wl7HcfxYWovD9SQd xdDmhHinlybuJkMjMy57bEg60Rpy2WP4yTDxDfGs6+sRKXzRlA9OhKOXHy0cCGCvnSnA d2ixJoTjPw11cfTW0d6EaVyCULOaxI4Zg6OOGoeiWVjBfipDsHLcf/GcziLIHEVHpsit +OZxANbiCkmrI5lBzQY54zvTrthf6NwDwR8jdZatDin5YOe7XzbBiEJtqO9fx/9J2WRC BEQkWePkE++VnBNzgYMTCQquNLZMt+zKqFfTysdBLsGojQenE96QVzsQleOo+Cd6z+/y W4cg== Return-Path: Received: from localhost.localdomain ([179.177.239.131]) by smtp.gmail.com with ESMTPSA id k14sm8231592qki.66.2020.01.15.03.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 03:51:46 -0800 (PST) From: Luis Machado To: gdb-patches@sourceware.org Cc: simark@simark.ca, tankut.baris.aktemur@intel.com, alan.hayward@arm.com Subject: [PATCH 0/2,v3][AArch64]Handle additional brk instruction patterns Date: Wed, 15 Jan 2020 11:52:00 -0000 Message-Id: <20200115115137.17771-1-luis.machado@linaro.org> X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00413.txt.bz2 This patch teaches GDB how to handle additional breakpoint instruction patterns for aarch64. Luis Machado (2): [AArch64] Recognize more program breakpoint patterns [AArch64] Test handling of additional brk instruction patterns gdb/aarch64-tdep.c | 37 ++++++++++ gdb/arch-utils.c | 32 ++++++++ gdb/arch-utils.h | 4 + gdb/breakpoint.c | 46 ++---------- gdb/breakpoint.h | 5 -- gdb/gdbarch.c | 23 ++++++ gdb/gdbarch.h | 7 ++ gdb/gdbarch.sh | 4 + gdb/infrun.c | 4 +- gdb/testsuite/gdb.arch/aarch64-brk-patterns.c | 30 ++++++++ .../gdb.arch/aarch64-brk-patterns.exp | 74 +++++++++++++++++++ 11 files changed, 220 insertions(+), 46 deletions(-) create mode 100644 gdb/testsuite/gdb.arch/aarch64-brk-patterns.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-brk-patterns.exp -- 2.17.1