From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130800 invoked by alias); 15 Jul 2015 10:28:41 -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 130790 invoked by uid 89); 15 Jul 2015 10:28:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jul 2015 10:28:40 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-27-uIdX9JHESmuMQ7q1JJHOlg-1; Wed, 15 Jul 2015 11:28:34 +0100 Received: from e105615-lin.cambridge.arm.com ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 15 Jul 2015 11:28:34 +0100 From: Pierre Langlois To: gdb-patches@sourceware.org Cc: Pierre Langlois Subject: [PATCH] [GDBserver][AArch64] Enable support for range stepping Date: Wed, 15 Jul 2015 10:28:00 -0000 Message-Id: <1436956091-8344-1-git-send-email-pierre.langlois@arm.com> X-MC-Unique: uIdX9JHESmuMQ7q1JJHOlg-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00428.txt.bz2 Hi all, This patch just enables range stepping for AArch64. Regression tested in remote configuration. The gdb.base/range-stepping.exp test is now enabled and gdb.trace/range-stepping.exp passes. Thanks, Pierre gdb/gdbserver/Changelog: * linux-aarch64-low.c (aarch64_supports_range_stepping): New function, return 1. (the_low_target): Install it. --- gdb/gdbserver/linux-aarch64-low.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch6= 4-low.c index b068e55..4534a47 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -1295,6 +1295,14 @@ aarch64_supports_tracepoints (void) return 1; } =20 +/* Implementation of linux_target_ops method "supports_range_stepping". */ + +static int +aarch64_supports_range_stepping (void) +{ + return 1; +} + struct linux_target_ops the_low_target =3D { aarch64_arch_setup, @@ -1323,6 +1331,11 @@ struct linux_target_ops the_low_target =3D aarch64_linux_prepare_to_resume, NULL, /* process_qsupported */ aarch64_supports_tracepoints, + NULL, /* get_thread_area */ + NULL, /* install_fast_tracepoint_jump_pad */ + NULL, /* emit_ops */ + NULL, /* get_min_fast_tracepoint_insn_len */ + aarch64_supports_range_stepping, }; =20 void --=20 2.1.0