From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30500 invoked by alias); 20 Aug 2003 13:07:14 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30470 invoked from network); 20 Aug 2003 13:07:13 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 20 Aug 2003 13:07:13 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19pSgC-00028o-Bs; Wed, 20 Aug 2003 09:07:12 -0400 Date: Wed, 20 Aug 2003 13:07:00 -0000 From: Daniel Jacobowitz To: Jimi Xenidis Cc: Kevin Buettner , gdb-patches@sources.redhat.com, Andrew Cagney Subject: Re: Powerpc and software single step Message-ID: <20030820130712.GA8168@nevyn.them.org> Mail-Followup-To: Jimi Xenidis , Kevin Buettner , gdb-patches@sources.redhat.com, Andrew Cagney References: <16185.27333.689024.383508@kitch0.watson.ibm.com> <1030819175512.ZM31220@localhost.localdomain> <20030819191300.GA24336@nevyn.them.org> <16194.42367.562777.115053@kitch0.watson.ibm.com> <20030820023005.GA1004@nevyn.them.org> <16194.58265.207405.586920@kitch0.watson.ibm.com> <20030820030931.GA2109@nevyn.them.org> <16194.59704.429271.680884@kitch0.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16194.59704.429271.680884@kitch0.watson.ibm.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00336.txt.bz2 On Tue, Aug 19, 2003 at 11:21:28PM -0400, Jimi Xenidis wrote: > >>>>> "DJ" == Daniel Jacobowitz writes: > > DJ> On Tue, Aug 19, 2003 at 10:57:29PM -0400, Jimi Xenidis wrote: > > DJ> set_gdbarch_software_single_step? You couldn't do it > DJ> architecture-independently, perhaps. > > I could not figure out how to trigger, from user space, a call to this > function toggeling between some known function pointer and NULL. > Did I miss it or perhaps another command (not "set") would suffice? If you write a set command that has an associated sfunc, the sfunc can call whatever you wish. Take a look at the end of cp-abi.c. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer