From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12643 invoked by alias); 18 Aug 2005 13:29:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11119 invoked by uid 22791); 18 Aug 2005 13:25:14 -0000 Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.199) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 18 Aug 2005 13:25:14 +0000 Received: by rproxy.gmail.com with SMTP id f1so285937rne for ; Thu, 18 Aug 2005 06:25:13 -0700 (PDT) Received: by 10.38.13.68 with SMTP id 68mr553245rnm; Thu, 18 Aug 2005 06:25:13 -0700 (PDT) Received: from ?192.168.0.124? ([61.173.157.162]) by mx.gmail.com with ESMTP id 74sm294299rnb.2005.08.18.06.25.11; Thu, 18 Aug 2005 06:25:13 -0700 (PDT) Message-ID: <43048CAD.6060300@gmail.com> Date: Thu, 18 Aug 2005 13:29:00 -0000 From: Jie Zhang User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Questions about software/hardware single step Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-08/txt/msg00064.txt.bz2 Hi, We are porting GDB to Blackfin. Currently, we have two kinds of the target. 1. Simuator which does not support single step. 2. Hardware board which supports hardware single step. So we have to use software single step for simulator. And we expect to use hardware single step for hardware board. Question: Is it possible to choose between software single step and hardware single step depending on if hardware single step is available on target? I searched the mailing list and found this . I took a look at gdbarch.*. It seems that no one has implemented it in the last 4 years. Right? Thanks, Jie