From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20799 invoked by alias); 9 Jul 2007 11:40:57 -0000 Received: (qmail 20790 invoked by uid 22791); 9 Jul 2007 11:40:57 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jul 2007 11:40:54 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 44D119829E; Mon, 9 Jul 2007 11:40:53 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2CFCF9817C; Mon, 9 Jul 2007 11:40:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I7rbn-0000sQ-0x; Mon, 09 Jul 2007 07:40:51 -0400 Date: Mon, 09 Jul 2007 11:40:00 -0000 From: Daniel Jacobowitz To: "Rick.Lee" Cc: gdb@sourceware.org Subject: Re: gdb over smbus Message-ID: <20070709114050.GA3095@caradoc.them.org> Mail-Followup-To: "Rick.Lee" , gdb@sourceware.org References: <20070706115920.GA10648@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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: 2007-07/txt/msg00062.txt.bz2 On Mon, Jul 09, 2007 at 04:43:42PM +0800, Rick.Lee wrote: > thanks,Daniel, > there are some incorrect information about this soc, through > smbus interface, cpu core registers, such as status register, register > files r0-rx could not be accessed, all other peripheral registers can > be accessed,including breakpoint enable/disable. > with these restrictions, is it still possible to do such a > converter to support source level debuging? You will have to come up with some way to access the core registers, if you expect GDB to know the current PC. -- Daniel Jacobowitz CodeSourcery