From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37855 invoked by alias); 8 Dec 2015 14:07:32 -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 37813 invoked by uid 89); 8 Dec 2015 14:07:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 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; Tue, 08 Dec 2015 14:07:31 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 30.48.32102.C14E6665; Tue, 8 Dec 2015 15:07:24 +0100 (CET) Received: from elxa4wqvvz1.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 8 Dec 2015 09:07:28 -0500 From: Antoine Tremblay To: Subject: [PATCH v7 0/8] Support software single step and conditional breakpoints on ARM in GDBServer. Date: Tue, 08 Dec 2015 14:07:00 -0000 Message-ID: <1449583641-18156-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/msg00159.txt.bz2 In this v7: * New patch 3 changes magic numbers for syscall check to numbers computed from xml-syscall. * Patch 4 now uses the new xml-syscall function to compare syscalls. It also uses the INT_REGISTER_SIZE and ARM_PC_REGNUM defines. * Patch 5: Fixed Makefile changelog. * Patch 6: ** Cleanup where arm-get-next-pcs.h is included. ** Move unrelated functions and macros from arm-get-next-pcs.h/.c to arm.h/.c. ** Fixed arm/thumb_deal_with_atomic_sequence calls. ** Fixed changelog Makefile entries. ** Fixed changelog configure.tgt/srv entries. ** Use __NR_sigreturn and __NR_rt_sigreturn to check for sigreturn syscall in GDBServer. Patch 1: is OK. Patch 2: is OK. Patch 3: Needs review. New patch. Patch 4: Needs review. Patch 5: is OK with changelog fix. Patch 6: Needs review. Patch 7: is OK. Patch 8: is OK. --- This patch series adds support for software single step and conditional breakpoints on ARM in GDBServer. Patches 1,2,3,4,5 prepares for sharing of software single step code for ARM in GDB with GDBServer. Patch 6 Implements the support for ARM software single step. Patch 7 Adds support for while-stepping actions. Patch 8 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.