From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38098 invoked by alias); 2 Dec 2015 13:18: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 38083 invoked by uid 89); 2 Dec 2015 13:18:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 02 Dec 2015 13:17:59 +0000 Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 8D.8F.32102.18FEE565; Wed, 2 Dec 2015 14:17:54 +0100 (CET) Received: from elxa4wqvvz1.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.78) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 2 Dec 2015 08:17:55 -0500 From: Antoine Tremblay To: Subject: [PATCH v4 0/6] Support software single step and conditional breakpoints on ARM in GDBServer. Date: Wed, 02 Dec 2015 13:18:00 -0000 Message-ID: <1449062264-18565-1-git-send-email-antoine.tremblay@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00025.txt.bz2 In this v4: Patches [1-5] of the v3 have been pushed in. A new patch 3 is now introduced to refactor arm_software_single_step to use regcache instead of frame so that we can share the registry reading function regcache_raw_read_unsigned between GDB and GDBServer. This allows the removal of the operation collect_register_unsigned from the get_next_pcs context structure. Patch 1: is OK. Patch 2: is OK. Patch 3: New patch needs review. Patch 4: Needs review. This was adapted based on the new patch 3. Patch 5: is OK. Patch 6: is OK. --- This patch series adds support for software single step and conditional breakpoints on ARM in GDBServer. Patches 1,2,3 prepares for sharing of software single step code for ARM in GDB with GDBServer. Patch 4 Implements the support for ARM software single step. Patch 5 Adds support for while-stepping actions. Patch 6 Adds support for conditional breakpoints in GDBServer. This patch set has no observed regressions, tested on Ubuntu 14.04 ARMv7 and x86. With gdbserver-{native,extended} / { -marm -mthumb } Note also that while I could not test thumbv1 instructions directly with gcc -marmv4t, manual testing of the software single step was done for thumv1 instructions.