From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25786 invoked by alias); 31 May 2012 10:03:21 -0000 Received: (qmail 25777 invoked by uid 22791); 31 May 2012 10:03:20 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-lb0-f169.google.com (HELO mail-lb0-f169.google.com) (209.85.217.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 10:02:57 +0000 Received: by lbjn8 with SMTP id n8so826712lbj.0 for ; Thu, 31 May 2012 03:02:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.83.200 with SMTP id s8mr732761lby.13.1338458575884; Thu, 31 May 2012 03:02:55 -0700 (PDT) Received: by 10.152.128.42 with HTTP; Thu, 31 May 2012 03:02:55 -0700 (PDT) Date: Thu, 31 May 2012 10:03:00 -0000 Message-ID: Subject: How to configure GDB for software single-stepping on an ARM remote stub From: Jonas Zaddach To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00151.txt.bz2 Hi, I have written a remote stub for some ARM hardware that supports just memory breakpoints (the device does not have a hardware debugging unit). I figured out that I need single-stepping to go around breakpoints, and that there is support for software single-stepping in the code ... but I have no idea on how to tell GDB that I want software single-stepping on my target. Can you give me a hint how to do it or where to look for documentation? Thank you, Jonas